diff options
author | Andrew Dolgov <[email protected]> | 2005-11-16 18:37:45 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-16 18:37:45 +0100 |
commit | 4769ddaf7204bf096f8e0e6204a26f3ad328c71a (patch) | |
tree | 75136fbf217460cf40b7b73622c631d486654de1 /functions.php | |
parent | 75c56ed7d7c6eb01feaa8f412388155f4de85d14 (diff) |
sql-ize backend.php
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
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); |