1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-07 18:21:33 +00:00

MIN_UPDATE_INTERVAL -> DEFAULT_UPDATE_INTERVAL

This commit is contained in:
Andrew Dolgov
2005-10-26 02:30:05 +01:00
parent 4529197a2f
commit 7f2ee7952b
2 changed files with 3 additions and 3 deletions

View File

@@ -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)) {