From d571740b33994a8faa5290b63d1c8b68f16e7686 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 1 May 2013 15:24:30 +0400 Subject: [PATCH] ccache: do not force recalculate child counters on category upgrade because this is handled elsewhere --- include/ccache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ccache.php b/include/ccache.php index d89b9efe..c33165ef 100644 --- a/include/ccache.php +++ b/include/ccache.php @@ -127,12 +127,12 @@ /* Recalculate counters for child feeds */ - $result = db_query("SELECT id FROM ttrss_feeds + /* $result = db_query("SELECT id FROM ttrss_feeds WHERE owner_uid = '$owner_uid' AND $cat_qpart"); while ($line = db_fetch_assoc($result)) { ccache_update($line["id"], $owner_uid, false, false); - } + } */ $result = db_query("SELECT SUM(value) AS sv FROM ttrss_counters_cache, ttrss_feeds -- 2.39.5