summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 8e6d96547..7fe21a631 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -49,8 +49,7 @@ function import_link($type) {
}
function import_cron() {
- // $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time());
- $result = db_query("SELECT * FROM feed");
+ $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time());
while ($feed = db_fetch_array($result)) {
import_refresh($feed);
}