summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
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>";
}