]> git.wh0rd.org - tt-rss.git/commitdiff
Revert "ccache: do not force recalculate child counters on category upgrade because...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 22:12:07 +0000 (02:12 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 1 May 2013 22:12:07 +0000 (02:12 +0400)
http://tt-rss.org/forum/viewtopic.php?f=10&t=1964

This reverts commit d571740b33994a8faa5290b63d1c8b68f16e7686.

include/ccache.php

index c33165ef8b8a889291bd14381eeba34dcade3e6b..d89b9efe03c8b61a477c5e28b5ddbd9006ddd6f5 100644 (file)
 
                        /* 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