]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove obsolete init-params
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 5 Nov 2010 14:44:59 +0000 (17:44 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 5 Nov 2010 14:44:59 +0000 (17:44 +0300)
feedlist.js
functions.php
tt-rss.js

index ddbcd6c0e11e1737e4e03db7fdd7a3461ac066cd..d1bb7f9a715c331dd2a708075d2ae7f63fadee29 100644 (file)
@@ -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);
index 05d5e968eb24e97800df756505235595e970112c..f806136df96f658a016e507df4b582325f3490a4 100644 (file)
                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")));
 
index 8f5c2847439c0c2ed5f47cab922ef08a13133219..b0aa84706ad0192b01522a178694dd0db842dc35 100644 (file)
--- 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"));