mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 00:31:29 +00:00
respect $fetch in update_all_feeds (forceUpdateAllFeeds handling)
This commit is contained in:
@@ -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"]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user