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 /functions.php | |
parent | f55b0b12aa7961b4dcb52041963cd35d8fc0da53 (diff) |
disable SYNC_COUNTERS option
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 12 |
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>"; } |