summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-23 13:26:29 +0100
committerAndrew Dolgov <[email protected]>2005-11-23 13:26:29 +0100
commit30a49c9227c0230093829646d6dc52c1fdf512dc (patch)
treeb496562d59d6470d3074462e34d60c7fbf8e7045 /functions.php
parentb83c75451c08569d90aedf7a54b5fa868ec6608e (diff)
DAEMON_REFRESH_ONLY makes a lot more sense as a global option
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/functions.php b/functions.php
index 2085d6067..410c76eac 100644
--- a/functions.php
+++ b/functions.php
@@ -91,10 +91,8 @@
purge_old_posts($link);
}
- if (get_pref($link, 'DAEMON_REFRESH_ONLY', $user_id)) {
- if (!$_GET["daemon"]) {
- return;
- }
+ if (DAEMON_REFRESH_ONLY && !$_GET["daemon"]) {
+ return;
}
db_query($link, "BEGIN");