diff options
author | Andrew Dolgov <[email protected]> | 2009-01-17 07:16:07 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-17 07:16:07 +0100 |
commit | 0bdec4560ef0c846adacb4877557825f50d26363 (patch) | |
tree | cc79d1620b1672c51666998ac90e0df2fce8ae01 | |
parent | 3b279892b7ff43ba276098474c5738debdb6aebb (diff) |
viewfeed: only include counters when in CDM mode
-rw-r--r-- | backend.php | 8 |
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); |