From 55ad314e0bb4e42f766c47585a5ba4753558f408 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 27 Aug 2011 00:28:09 +0400 Subject: [PATCH] update_rss_feed_real: allow overriding fetch url --- functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index d6f116a8..e0b5fc99 100644 --- a/functions.php +++ b/functions.php @@ -500,7 +500,8 @@ } } - function update_rss_feed_real($link, $feed, $ignore_daemon = false, $no_cache = false) { + function update_rss_feed_real($link, $feed, $ignore_daemon = false, $no_cache = false, + $override_url = false) { global $memcache; @@ -597,6 +598,9 @@ } + if ($override_url) + $fetch_url = $override_url; + if ($debug_enabled) { _debug("update_rss_feed: fetching [$fetch_url]..."); } -- 2.39.5