update_rss_feed_real: allow overriding fetch url
This commit is contained in:
parent
85e836d868
commit
55ad314e0b
1 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue