Commit ad2d4d84 authored by Dries's avatar Dries
Browse files

- Bugfix. Reported by Gunnar

parent 9836201e
...@@ -49,8 +49,7 @@ function import_link($type) { ...@@ -49,8 +49,7 @@ function import_link($type) {
} }
function import_cron() { function import_cron() {
// $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time()); $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time());
$result = db_query("SELECT * FROM feed");
while ($feed = db_fetch_array($result)) { while ($feed = db_fetch_array($result)) {
import_refresh($feed); import_refresh($feed);
} }
......
...@@ -49,8 +49,7 @@ function import_link($type) { ...@@ -49,8 +49,7 @@ function import_link($type) {
} }
function import_cron() { function import_cron() {
// $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time()); $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time());
$result = db_query("SELECT * FROM feed");
while ($feed = db_fetch_array($result)) { while ($feed = db_fetch_array($result)) {
import_refresh($feed); import_refresh($feed);
} }
......
...@@ -49,8 +49,7 @@ function import_link($type) { ...@@ -49,8 +49,7 @@ function import_link($type) {
} }
function import_cron() { function import_cron() {
// $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time()); $result = db_query("SELECT * FROM feed WHERE timestamp + refresh < ". time());
$result = db_query("SELECT * FROM feed");
while ($feed = db_fetch_array($result)) { while ($feed = db_fetch_array($result)) {
import_refresh($feed); import_refresh($feed);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment