diff options
author | Andrew Dolgov <[email protected]> | 2005-11-19 06:09:19 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-19 06:09:19 +0100 |
commit | 93d40f50ba79703664d4d1cfef89210b114eee28 (patch) | |
tree | 5e0f0eff152fc92fc24b2df70785b62aa848f872 /functions.php | |
parent | 5859be022e60b8c9b93c3b62b78c2b794ec947b4 (diff) |
respect $fetch in update_all_feeds (forceUpdateAllFeeds handling)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 4438c41bf..3b63a24e7 100644 --- a/functions.php +++ b/functions.php @@ -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"]); } |