diff options
author | Andrew Dolgov <[email protected]> | 2009-01-16 16:37:42 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-16 16:37:42 +0100 |
commit | bd090ab42e4856fd7839ae9f6a07e8c4a23c8c81 (patch) | |
tree | fa22d31b1761ab163b629869fc8b29dfd170b2b0 /backend.php | |
parent | f55b0b12aa7961b4dcb52041963cd35d8fc0da53 (diff) |
disable SYNC_COUNTERS option
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/backend.php b/backend.php index 71a952258..0c8929f57 100644 --- a/backend.php +++ b/backend.php @@ -239,11 +239,11 @@ } - if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) { +// if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) { print "<counters>"; getAllCounters($link, $omode); print "</counters>"; - } +// } print "</reply>"; break; // view @@ -348,12 +348,12 @@ $viewfeed_ctr_interval = 60; } - if (get_pref($link, "SYNC_COUNTERS") || - time() - $_SESSION["get_all_counters_stamp"] > $viewfeed_ctr_interval) { +// 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["debug"]) $timing_info = print_checkpoint("30", $timing_info); |