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:
@@ -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>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user