summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-16 16:37:42 +0100
committerAndrew Dolgov <[email protected]>2009-01-16 16:37:42 +0100
commitbd090ab42e4856fd7839ae9f6a07e8c4a23c8c81 (patch)
treefa22d31b1761ab163b629869fc8b29dfd170b2b0 /functions.php
parentf55b0b12aa7961b4dcb52041963cd35d8fc0da53 (diff)
disable SYNC_COUNTERS option
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/functions.php b/functions.php
index 53ad3ce70..239e74e6c 100644
--- a/functions.php
+++ b/functions.php
@@ -2296,8 +2296,8 @@
- if (get_pref($link, "SYNC_COUNTERS") ||
- time() - $_SESSION["get_all_counters_stamp"] > 5) {
+// if (get_pref($link, "SYNC_COUNTERS") ||
+// time() - $_SESSION["get_all_counters_stamp"] > 5) {
if (!$omode) $omode = "flc";
@@ -2313,7 +2313,7 @@
}
$_SESSION["get_all_counters_stamp"] = time();
- }
+// }
}
@@ -3140,8 +3140,10 @@
print "<param key=\"bw_limit\" value=\"".
(int) $_SESSION["bw_limit"]."\"/>";
- print "<param key=\"sync_counters\" value=\"" .
- (int) get_pref($link, "SYNC_COUNTERS") . "\"/>";
+// print "<param key=\"sync_counters\" value=\"" .
+// (int) get_pref($link, "SYNC_COUNTERS") . "\"/>";
+
+ print "<param key=\"sync_counters\" value=\"1\"/>";
print "</init-params>";
}