update_rss_feed_real: allow overriding fetch url

This commit is contained in:
Andrew Dolgov 2011-08-27 00:28:09 +04:00
parent 85e836d868
commit 55ad314e0b
1 changed files with 5 additions and 1 deletions

View File

@ -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]...");
}