summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-17 07:16:07 +0100
committerAndrew Dolgov <[email protected]>2009-01-17 07:16:07 +0100
commit0bdec4560ef0c846adacb4877557825f50d26363 (patch)
treecc79d1620b1672c51666998ac90e0df2fce8ae01 /backend.php
parent3b279892b7ff43ba276098474c5738debdb6aebb (diff)
viewfeed: only include counters when in CDM mode
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 08269b3c7..c2efc73d6 100644
--- a/backend.php
+++ b/backend.php
@@ -343,10 +343,16 @@
// if (get_pref($link, "SYNC_COUNTERS") ||
// time() - $_SESSION["get_all_counters_stamp"] > $viewfeed_ctr_interval) {
+// print "<counters>";
+// getAllCounters($link, $omode, $feed);
+// print "</counters>";
+// }
+
+ if (get_pref($link, 'COMBINED_DISPLAY_MODE')) {
print "<counters>";
getAllCounters($link, $omode, $feed);
print "</counters>";
-// }
+ }
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);