diff options
author | Andrew Dolgov <[email protected]> | 2016-04-01 18:54:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-04-01 18:54:53 +0300 |
commit | 9e84bab449f9ed55e02e60378b0af1521026f3b8 (patch) | |
tree | 1764d50ca938159c5f87440a8d520d8e17073962 /include | |
parent | c71add385dc87d489df3a6e9db9353f92233ec84 (diff) |
daemon common: use proper update condition checking for secondary-selected feeds
Diffstat (limited to 'include')
-rwxr-xr-x | include/rssfuncs.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index bf6035677..27e8ffc14 100755 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -193,9 +193,8 @@ ttrss_users.id = ttrss_user_prefs.owner_uid AND ttrss_user_prefs.pref_name = 'DEFAULT_UPDATE_INTERVAL' AND ttrss_user_prefs.profile IS NULL AND - feed_url = '".db_escape_string($feed)."' AND - (ttrss_feeds.update_interval > 0 OR - ttrss_user_prefs.value != '-1') + feed_url = '".db_escape_string($feed)."' + $update_limit_qpart $login_thresh_qpart ORDER BY ttrss_feeds.id $query_limit"); |