Revert "ccache: do not force recalculate child counters on category upgrade because this is handled elsewhere"

http://tt-rss.org/forum/viewtopic.php?f=10&t=1964

This reverts commit d571740b33.
This commit is contained in:
Andrew Dolgov 2013-05-02 02:12:07 +04:00
parent 5d0d3887af
commit d0e9c40a5a
1 changed files with 2 additions and 2 deletions

View File

@ -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