summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-26 02:30:05 +0100
committerAndrew Dolgov <[email protected]>2005-10-26 02:30:05 +0100
commit7f2ee7952b665c0384bc0390167a3a30d6fb3599 (patch)
treeb20edd0931ccfe7bb9e203334bbba71721e4a760 /functions.php
parent4529197a2f53eb70474dd36adf58a16c9be041a0 (diff)
MIN_UPDATE_INTERVAL -> DEFAULT_UPDATE_INTERVAL
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 2176b8b77..f8fb75a5c 100644
--- a/functions.php
+++ b/functions.php
@@ -31,7 +31,7 @@
while ($line = db_fetch_assoc($result)) {
$upd_intl = $line["update_interval"];
- if (!$upd_intl) $upd_intl = MIN_UPDATE_INTERVAL;
+ if (!$upd_intl || $upd_intl == 0) $upd_intl = DEFAULT_UPDATE_INTERVAL;
if (!$line["last_updated"] ||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {