summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-02-07 04:29:09 +0100
committerAndrew Dolgov <[email protected]>2008-02-07 04:29:09 +0100
commitda4caf5d86f91a1c8be5443cbc51232bdfb3a046 (patch)
treecb691310c684e0628cb8d327f76bb847b1ed397c /functions.php
parent7a22dc2ad5f210e13a63c1bccb89ece06005dd7c (diff)
daemon: schedule never updated feeds for update
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 4af6e3b54..829650b78 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.