From: Andrew Dolgov Date: Mon, 20 May 2013 11:28:56 +0000 (+0400) Subject: pass feed it to feed_fetched and fetch_feed hooks X-Git-Tag: 1.8~76 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6791af0cfdf481e90368b92c358559dcc6944272;p=tt-rss.git pass feed it to feed_fetched and fetch_feed hooks --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 217bc2bf..4c3e8612 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -275,7 +275,7 @@ if (!$rss) { foreach ($pluginhost->get_hooks(PluginHost::HOOK_FETCH_FEED) as $plugin) { - $feed_data = $plugin->hook_fetch_feed($feed_data, $fetch_url, $owner_uid); + $feed_data = $plugin->hook_fetch_feed($feed_data, $fetch_url, $owner_uid, $feed); } if (!$feed_data) { @@ -342,7 +342,7 @@ } foreach ($pluginhost->get_hooks(PluginHost::HOOK_FEED_FETCHED) as $plugin) { - $feed_data = $plugin->hook_feed_fetched($feed_data, $fetch_url, $owner_uid); + $feed_data = $plugin->hook_feed_fetched($feed_data, $fetch_url, $owner_uid, $feed); } // set last update to now so if anything *simplepie* crashes later we won't be