From da4caf5d86f91a1c8be5443cbc51232bdfb3a046 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 7 Feb 2008 04:29:09 +0100 Subject: [PATCH] daemon: schedule never updated feeds for update --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 4af6e3b5..829650b7 100644 --- a/functions.php +++ b/functions.php @@ -5244,7 +5244,7 @@ ) OR ( ttrss_feeds.update_interval > 0 AND ttrss_feeds.last_updated < NOW() - CAST((ttrss_feeds.update_interval || ' minutes') AS INTERVAL) - ))"; + ) OR ttrss_feeds.last_updated IS NULL)"; } else { $update_limit_qpart = "AND (( ttrss_feeds.update_interval = 0 @@ -5252,7 +5252,7 @@ ) OR ( ttrss_feeds.update_interval > 0 AND ttrss_feeds.last_updated < DATE_SUB(NOW(), INTERVAL ttrss_feeds.update_interval MINUTE) - ))"; + ) OR ttrss_feeds.last_updated IS NULL)"; } // Test if feed is currently being updated by another process. -- 2.39.2