]> git.wh0rd.org Git - tt-rss.git/commitdiff
Revert "Avoid updating feed based on user pref DEFAULT_UPDATE_INTERVAL if it is set...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 30 Mar 2013 09:26:15 +0000 (13:26 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 30 Mar 2013 09:26:15 +0000 (13:26 +0400)
This reverts commit bca1cfbb9580d3ed295f7d93bbf4dce00eae8456.

include/rssfuncs.php

index fcf89746111a35bbee6dde85a6124086b552b337..e82e94b099f1d99ed665df7acd27a3c0e94a1e73 100644 (file)
@@ -77,7 +77,6 @@
                if (DB_TYPE == "pgsql") {
                        $update_limit_qpart = "AND ((
                                        ttrss_feeds.update_interval = 0
-                                       AND ttrss_user_prefs.value > 0
                                        AND ttrss_feeds.last_updated < NOW() - CAST((ttrss_user_prefs.value || ' minutes') AS INTERVAL)
                                ) OR (
                                        ttrss_feeds.update_interval > 0
@@ -87,7 +86,6 @@
                } else {
                        $update_limit_qpart = "AND ((
                                        ttrss_feeds.update_interval = 0
-                                       AND ttrss_user_prefs.value > 0
                                        AND ttrss_feeds.last_updated < DATE_SUB(NOW(), INTERVAL CONVERT(ttrss_user_prefs.value, SIGNED INTEGER) MINUTE)
                                ) OR (
                                        ttrss_feeds.update_interval > 0