respect $fetch in update_all_feeds (forceUpdateAllFeeds handling)
This commit is contained in:
parent
5859be022e
commit
93d40f50ba
1 changed files with 2 additions and 2 deletions
|
@ -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"]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue