]> git.wh0rd.org - tt-rss.git/commitdiff
view: output counters only when called in prefetch mode or when csync is enabled
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 3 Jun 2008 08:14:07 +0000 (09:14 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 3 Jun 2008 08:14:07 +0000 (09:14 +0100)
backend.php

index 254dcbc5deb338248d4b7e2f3a93070d3af7f319..9dfc3b989567a85bff7e6ffc1ed007b8ca6d3b95 100644 (file)
                                }
                        }
 
-                       if ($mode != "prefetch_old" || $csync) {
+                       if ($mode == "prefetch" || $csync) {
                                print "<counters>";
                                getAllCounters($link, $omode);
                                print "</counters>";