1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:35:57 +00:00

daemon common: use proper update condition checking for secondary-selected feeds

This commit is contained in:
Andrew Dolgov
2016-04-01 18:54:53 +03:00
parent c71add385d
commit 9e84bab449

View File

@@ -193,9 +193,8 @@
ttrss_users.id = ttrss_user_prefs.owner_uid AND ttrss_users.id = ttrss_user_prefs.owner_uid AND
ttrss_user_prefs.pref_name = 'DEFAULT_UPDATE_INTERVAL' AND ttrss_user_prefs.pref_name = 'DEFAULT_UPDATE_INTERVAL' AND
ttrss_user_prefs.profile IS NULL AND ttrss_user_prefs.profile IS NULL AND
feed_url = '".db_escape_string($feed)."' AND feed_url = '".db_escape_string($feed)."'
(ttrss_feeds.update_interval > 0 OR $update_limit_qpart
ttrss_user_prefs.value != '-1')
$login_thresh_qpart $login_thresh_qpart
ORDER BY ttrss_feeds.id $query_limit"); ORDER BY ttrss_feeds.id $query_limit");