respect $fetch in update_all_feeds (forceUpdateAllFeeds handling)

This commit is contained in:
Andrew Dolgov 2005-11-19 06:09:19 +01:00
parent 5859be022e
commit 93d40f50ba
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@
$upd_intl = get_pref($link, 'DEFAULT_UPDATE_INTERVAL');
}
if (!$line["last_updated"] ||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {
if ($fetch || (!$line["last_updated"] ||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60))) {
update_rss_feed($link, $line["feed_url"], $line["id"]);
}