From 30a49c9227c0230093829646d6dc52c1fdf512dc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2005 13:26:29 +0100 Subject: DAEMON_REFRESH_ONLY makes a lot more sense as a global option --- functions.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'functions.php') 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"); -- cgit v1.2.3