viewfeed: only include counters when in CDM mode

This commit is contained in:
Andrew Dolgov 2009-01-17 07:16:07 +01:00
parent 3b279892b7
commit 0bdec4560e
1 changed files with 7 additions and 1 deletions

View File

@ -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);