From: Andrew Dolgov Date: Thu, 7 Feb 2008 03:29:09 +0000 (+0100) Subject: daemon: schedule never updated feeds for update X-Git-Tag: 1.2.20~46 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=da4caf5d86f91a1c8be5443cbc51232bdfb3a046;p=tt-rss.git daemon: schedule never updated feeds for update --- 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.