viewfeed: only include counters when in CDM mode
This commit is contained in:
parent
3b279892b7
commit
0bdec4560e
1 changed files with 7 additions and 1 deletions
|
@ -343,10 +343,16 @@
|
||||||
|
|
||||||
// if (get_pref($link, "SYNC_COUNTERS") ||
|
// if (get_pref($link, "SYNC_COUNTERS") ||
|
||||||
// time() - $_SESSION["get_all_counters_stamp"] > $viewfeed_ctr_interval) {
|
// 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>";
|
print "<counters>";
|
||||||
getAllCounters($link, $omode, $feed);
|
getAllCounters($link, $omode, $feed);
|
||||||
print "</counters>";
|
print "</counters>";
|
||||||
// }
|
}
|
||||||
|
|
||||||
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue