From 7f2ee7952b665c0384bc0390167a3a30d6fb3599 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 26 Oct 2005 02:30:05 +0100 Subject: MIN_UPDATE_INTERVAL -> DEFAULT_UPDATE_INTERVAL --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') 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)) { -- cgit v1.2.3