1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:15:55 +00:00

view: output counters only when called in prefetch mode AND when csync is enabled

This commit is contained in:
Andrew Dolgov
2008-06-03 09:18:08 +01:00
parent 3bfc7a2ff1
commit 3908a1af90

View File

@@ -212,7 +212,7 @@
} }
} }
if ($mode == "prefetch" || $csync) { if ($mode == "prefetch" && $csync) {
print "<counters>"; print "<counters>";
getAllCounters($link, $omode); getAllCounters($link, $omode);
print "</counters>"; print "</counters>";