summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-12 19:33:12 +0400
committerAndrew Dolgov <[email protected]>2011-04-12 19:33:12 +0400
commitdbaa4e4aac5e68c6d4714941ae99d3e4028410e5 (patch)
tree86e6a7c06742c66236eade808e3f43753051be22 /functions.php
parentf56c6cd48853fa498704d4239bf204d57279f6ce (diff)
config: remove option ENABLE_UPDATE_DAEMON
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 069c85359..141d7bc8c 100644
--- a/functions.php
+++ b/functions.php
@@ -3231,7 +3231,6 @@
$params["theme"] = get_user_theme($link);
$params["theme_options"] = get_user_theme_options($link);
- $params["daemon_enabled"] = ENABLE_UPDATE_DAEMON;
$params["sign_progress"] = theme_image($link, "images/indicator_white.gif");
$params["sign_progress_tiny"] = theme_image($link, "images/indicator_tiny.gif");
@@ -3288,7 +3287,7 @@
$data['last_article_id'] = getLastArticleId($link);
$data['cdm_expanded'] = get_pref($link, 'CDM_EXPANDED');
- if (ENABLE_UPDATE_DAEMON) {
+ if (file_exists(LOCK_DIRECTORY . "/update_daemon.lock")) {
$data['daemon_is_running'] = (int) file_is_locked("update_daemon.lock");