]> git.wh0rd.org Git - tt-rss.git/commitdiff
update_rss_feed_real: allow overriding fetch url
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 26 Aug 2011 20:28:09 +0000 (00:28 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 26 Aug 2011 20:28:09 +0000 (00:28 +0400)
functions.php

index d6f116a8d1edec1d6e0b1c83bd10e324ab50e082..e0b5fc9994c25126a1ff21de39645d144a3fbe4d 100644 (file)
                }
        }
 
-       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;
 
 
                }
 
+               if ($override_url)
+                       $fetch_url = $override_url;
+
                if ($debug_enabled) {
                        _debug("update_rss_feed: fetching [$fetch_url]...");
                }