summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index d8e95594b..b9392d818 100644
--- a/functions.php
+++ b/functions.php
@@ -32,7 +32,7 @@
function update_all_feeds($link, $fetch) {
- if (get_pref($link, 'WEB_DEMO_MODE')) return;
+ if (WEB_DEMO_MODE) return;
if (get_pref($link, 'DAEMON_REFRESH_ONLY')) {
if (!$_GET["daemon"]) {
@@ -104,7 +104,7 @@
function update_rss_feed($link, $feed_url, $feed) {
- if (get_pref($link, 'WEB_DEMO_MODE')) return;
+ if (WEB_DEMO_MODE) return;
$feed = db_escape_string($feed);