diff --git a/feedlist.js b/feedlist.js index ddbcd6c0e..d1bb7f9a7 100644 --- a/feedlist.js +++ b/feedlist.js @@ -630,9 +630,6 @@ function request_counters() { 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); diff --git a/functions.php b/functions.php index 05d5e968e..f806136df 100644 --- a/functions.php +++ b/functions.php @@ -3124,7 +3124,6 @@ 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"))); @@ -3169,8 +3168,6 @@ 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"))); diff --git a/tt-rss.js b/tt-rss.js index 8f5c28474..b0aa84706 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -6,7 +6,6 @@ var global_unread = -1; 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; @@ -98,10 +97,6 @@ function scheduleFeedUpdate(force) { 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) { @@ -403,7 +398,6 @@ function init_second_stage() { 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"));