summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-08-05 08:29:27 +0000
committerDries Buytaert <dries@buytaert.net>2001-08-05 08:29:27 +0000
commitd159f7abc8bda9458cc2e3e5a2a3c55b8eefe5fe (patch)
tree7d2bf1f619e2dac32e372c67d3e15de6c0da12a6 /modules
parentc54c4f86e0547b00a552d03ebdb8b1d8d3dc8af7 (diff)
downloadbrdo-d159f7abc8bda9458cc2e3e5a2a3c55b8eefe5fe.tar.gz
brdo-d159f7abc8bda9458cc2e3e5a2a3c55b8eefe5fe.tar.bz2
- cloud.module:
+ small bugfix
Diffstat (limited to 'modules')
-rw-r--r--modules/cloud.module8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/cloud.module b/modules/cloud.module
index 880e09c22..d3670e263 100644
--- a/modules/cloud.module
+++ b/modules/cloud.module
@@ -55,10 +55,8 @@ function cloud_update($site) {
$data .= fgets($fp, 128);
}
- if (strstr($data, "200 OK")) {
- if (abs($site[size] - strlen($data)) > 50) {
- db_query("UPDATE site SET size = '". strlen($data) ."', timestamp = '". time() ."' WHERE link = '". check_input($site[link]) ."'");
- }
+ if (abs($site[size] - strlen($data)) > 50) {
+ db_query("UPDATE site SET size = '". strlen($data) ."', timestamp = '". time() ."' WHERE link = '". check_input($site[link]) ."'");
}
}
else {
@@ -186,4 +184,4 @@ function cloud_admin() {
}
}
-?> \ No newline at end of file
+?>