From 3d28f9cd2d33b31ebcb621e3f56840b6c127bc21 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Nov 2010 19:13:29 +0300 Subject: [PATCH] obsolete FEEDS_FRAME_REFRESH --- config.php-dist | 3 --- functions.php | 1 - tt-rss.js | 6 +----- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/config.php-dist b/config.php-dist index 6ddd2240..14cc1e30 100644 --- a/config.php-dist +++ b/config.php-dist @@ -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. diff --git a/functions.php b/functions.php index 44d4ae20..e44d0ea3 100644 --- a/functions.php +++ b/functions.php @@ -3127,7 +3127,6 @@ $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"); diff --git a/tt-rss.js b/tt-rss.js index c310e267..130beeed 100644 --- 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() {