respect $fetch in update_all_feeds (forceUpdateAllFeeds handling)
This commit is contained in:
parent
5859be022e
commit
93d40f50ba
|
@ -100,8 +100,8 @@
|
||||||
$upd_intl = get_pref($link, 'DEFAULT_UPDATE_INTERVAL');
|
$upd_intl = get_pref($link, 'DEFAULT_UPDATE_INTERVAL');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$line["last_updated"] ||
|
if ($fetch || (!$line["last_updated"] ||
|
||||||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {
|
time() - strtotime($line["last_updated"]) > ($upd_intl * 60))) {
|
||||||
|
|
||||||
update_rss_feed($link, $line["feed_url"], $line["id"]);
|
update_rss_feed($link, $line["feed_url"], $line["id"]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue