summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-23 10:08:16 +0100
committerAndrew Dolgov <[email protected]>2006-05-23 10:08:16 +0100
commit71ad883b287330de0ce2fa67b63141c56fad8930 (patch)
tree3f54716a8e42f047bfb843f0f14dbd0d07cb9070 /functions.php
parentf54f515f440f69de6479fef14cd2aae004aff551 (diff)
toggle no daemon warning @ runtime on refetch
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index fbce56b5e..e4dc5e10b 100644
--- a/functions.php
+++ b/functions.php
@@ -1721,8 +1721,10 @@
function print_runtime_info($link) {
print "<runtime-info>";
- print "<param key=\"daemon_is_running\" value=\"".
- sprintf("%d", file_is_locked("update_daemon.lock")) . "\"/>";
+ if (ENABLE_UPDATE_DAEMON) {
+ print "<param key=\"daemon_is_running\" value=\"".
+ sprintf("%d", file_is_locked("update_daemon.lock")) . "\"/>";
+ }
print "</runtime-info>";
}
?>