From 93d40f50ba79703664d4d1cfef89210b114eee28 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 19 Nov 2005 06:09:19 +0100 Subject: [PATCH] respect $fetch in update_all_feeds (forceUpdateAllFeeds handling) --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 4438c41b..3b63a24e 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"]); } -- 2.39.5