summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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
+?>