From 6791af0cfdf481e90368b92c358559dcc6944272 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 20 May 2013 15:28:56 +0400 Subject: [PATCH] pass feed it to feed_fetched and fetch_feed hooks --- include/rssfuncs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5