summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-27 00:28:09 +0400
committerAndrew Dolgov <[email protected]>2011-08-27 00:28:09 +0400
commit55ad314e0bb4e42f766c47585a5ba4753558f408 (patch)
tree9c37b3fd4a4ad2087f1e22db0846cdae013a630d /functions.php
parent85e836d868971286130e7dde2948dbbb184ad7ad (diff)
update_rss_feed_real: allow overriding fetch url
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index d6f116a8d..e0b5fc999 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]...");
}