var date = new Date();
var timestamp = Math.round(date.getTime() / 1000);
-// if (getInitParam("sync_counters") == "1" ||
-// timestamp - counters_last_request > 10) {
-
if (timestamp - counters_last_request > 15) {
console.log("scheduling request of counters...");
window.setTimeout("request_counters_real()", 1000);
array_push($params, make_init_param("theme_options", get_user_theme_options($link)));
array_push($params, make_init_param("daemon_enabled", ENABLE_UPDATE_DAEMON));
array_push($params, make_init_param("feeds_frame_refresh", FEEDS_FRAME_REFRESH));
- array_push($params, make_init_param("daemon_refresh_only", true));
array_push($params, make_init_param("sign_progress",
theme_image($link, "images/indicator_white.gif")));
array_push($params, make_init_param("bw_limit",
(int) $_SESSION["bw_limit"]));
- array_push($params, make_init_param("sync_counters", 1));
-
array_push($params, make_init_param("offline_enabled",
(int) get_pref($link, "ENABLE_OFFLINE_READING")));
var active_title_text = "";
var current_subtitle = "";
var daemon_enabled = false;
-var daemon_refresh_only = false;
//var _qfd_deleted_feed = 0;
var firsttime_update = true;
var _active_feed_id = 0;
console.log("in scheduleFeedUpdate");
-/* if (!daemon_enabled && !daemon_refresh_only) {
- notify_progress("Updating feeds...", true);
- } */
-
var query_str = "backend.php?op=rpc&subop=";
if (force) {
dropboxSelect(toolbar.order_by, getInitParam("default_view_order_by"));
daemon_enabled = getInitParam("daemon_enabled") == 1;
- daemon_refresh_only = getInitParam("daemon_refresh_only") == 1;
feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
/* var fl = cache_find_param("FEEDLIST", getInitParam("num_feeds"));