From 46e263586978ac443967c28fc6800a44c2f1d33b Mon Sep 17 00:00:00 2001 From: wn_ Date: Wed, 21 Dec 2022 21:03:38 +0000 Subject: Only count updating (i.e. enabled) feeds when determining active feeds with errors. This excludes feeds that had errors and currently have updating disabled (e.g. disabled due to the site being down for a while, getting compromised, etc.). Disabled / non-updating feeds' error states are still visible when viewed in the feed tree. --- classes/pref/feeds.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes/pref/feeds.php') diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index a9ae91979..7853e7243 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -1154,6 +1154,7 @@ class Pref_Feeds extends Handler_Protected { ->select_many('id', 'title', 'feed_url', 'last_error', 'site_url') ->where_not_equal('last_error', '') ->where('owner_uid', $_SESSION['uid']) + ->where_gt('update_interval', 0) ->find_array()); } -- cgit v1.2.3