1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 08:01:29 +00:00

disable SYNC_COUNTERS option

This commit is contained in:
Andrew Dolgov
2009-01-16 16:37:42 +01:00
parent f55b0b12aa
commit bd090ab42e
4 changed files with 14 additions and 12 deletions

View File

@@ -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>";
}