viewfeed: disable output of counters when serving an infscroll request

This commit is contained in:
Andrew Dolgov 2009-01-17 08:15:04 +01:00
parent 34c4e5fcab
commit b167646419
1 changed files with 5 additions and 3 deletions

View File

@ -349,9 +349,11 @@
// }
if (get_pref($link, 'COMBINED_DISPLAY_MODE')) {
print "<counters>";
getAllCounters($link, $omode, $feed);
print "</counters>";
if (!$offset) {
print "<counters>";
getAllCounters($link, $omode, $feed);
print "</counters>";
}
}
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);