From bd090ab42e4856fd7839ae9f6a07e8c4a23c8c81 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 16:37:42 +0100 Subject: disable SYNC_COUNTERS option --- backend.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'backend.php') 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 ""; getAllCounters($link, $omode); print ""; - } +// } print ""; 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 ""; getAllCounters($link, $omode, $feed); print ""; - } +// } if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info); -- cgit v1.2.3