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

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