update_rss_feed_real: allow overriding fetch url

master
Andrew Dolgov 13 years ago
parent 85e836d868
commit 55ad314e0b

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

Loading…
Cancel
Save