]> git.wh0rd.org Git - tt-rss.git/commitdiff
obsolete FEEDS_FRAME_REFRESH
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Nov 2010 16:13:29 +0000 (19:13 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Nov 2010 16:13:29 +0000 (19:13 +0300)
config.php-dist
functions.php
tt-rss.js

index 6ddd224054a5564ffacc86eb9d2b8d42e9d334fc..14cc1e3078392fc0e8e8b6e21511b77225a6bca4 100644 (file)
@@ -35,9 +35,6 @@
        define('TMP_DIRECTORY', '/tmp');
        // Directory for temporary files
 
-       define('FEEDS_FRAME_REFRESH', 600);
-       // Auto refresh interval for feeds frame (in seconds)
-
        define('ENABLE_UPDATE_DAEMON', false);
        // This enables different mechanism for user-triggered updates designed
        // for update daemon running in background on the server.
index 44d4ae200a523da65746dfb2405d0424d5774521..e44d0ea3fd6a4956edfea291f842756e3385ad45 100644 (file)
                $params["theme"] = get_user_theme($link);
                $params["theme_options"] = get_user_theme_options($link);
                $params["daemon_enabled"] = ENABLE_UPDATE_DAEMON;
-               $params["feeds_frame_refresh"] = FEEDS_FRAME_REFRESH;
 
                $params["sign_progress"] = theme_image($link, "images/indicator_white.gif");
                $params["sign_progress_tiny"] = theme_image($link, "images/indicator_tiny.gif");
index c310e267bc9b40f065da00aaad125486ea27bfc6..130beeed0fe56451c864eb799f7306235c7e1377 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -194,11 +194,7 @@ function timeout() {
 
        scheduleFeedUpdate(false);
 
-       var refresh_time = getInitParam("feeds_frame_refresh");
-
-       if (!refresh_time) refresh_time = 600; 
-
-       setTimeout("timeout()", refresh_time*1000);
+       setTimeout("timeout()", 10*1000);
 }
 
 function resetSearch() {