obsolete FEEDS_FRAME_REFRESH
This commit is contained in:
parent
c011b36b85
commit
3d28f9cd2d
3 changed files with 1 additions and 9 deletions
|
@ -35,9 +35,6 @@
|
||||||
define('TMP_DIRECTORY', '/tmp');
|
define('TMP_DIRECTORY', '/tmp');
|
||||||
// Directory for temporary files
|
// Directory for temporary files
|
||||||
|
|
||||||
define('FEEDS_FRAME_REFRESH', 600);
|
|
||||||
// Auto refresh interval for feeds frame (in seconds)
|
|
||||||
|
|
||||||
define('ENABLE_UPDATE_DAEMON', false);
|
define('ENABLE_UPDATE_DAEMON', false);
|
||||||
// This enables different mechanism for user-triggered updates designed
|
// This enables different mechanism for user-triggered updates designed
|
||||||
// for update daemon running in background on the server.
|
// for update daemon running in background on the server.
|
||||||
|
|
|
@ -3127,7 +3127,6 @@
|
||||||
$params["theme"] = get_user_theme($link);
|
$params["theme"] = get_user_theme($link);
|
||||||
$params["theme_options"] = get_user_theme_options($link);
|
$params["theme_options"] = get_user_theme_options($link);
|
||||||
$params["daemon_enabled"] = ENABLE_UPDATE_DAEMON;
|
$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"] = theme_image($link, "images/indicator_white.gif");
|
||||||
$params["sign_progress_tiny"] = theme_image($link, "images/indicator_tiny.gif");
|
$params["sign_progress_tiny"] = theme_image($link, "images/indicator_tiny.gif");
|
||||||
|
|
|
@ -194,11 +194,7 @@ function timeout() {
|
||||||
|
|
||||||
scheduleFeedUpdate(false);
|
scheduleFeedUpdate(false);
|
||||||
|
|
||||||
var refresh_time = getInitParam("feeds_frame_refresh");
|
setTimeout("timeout()", 10*1000);
|
||||||
|
|
||||||
if (!refresh_time) refresh_time = 600;
|
|
||||||
|
|
||||||
setTimeout("timeout()", refresh_time*1000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetSearch() {
|
function resetSearch() {
|
||||||
|
|
Loading…
Reference in a new issue