diff options
author | Andrew Dolgov <[email protected]> | 2013-05-20 15:28:56 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-20 15:28:56 +0400 |
commit | 6791af0cfdf481e90368b92c358559dcc6944272 (patch) | |
tree | 418404f4d1ed8da4f3bae87c5f1140e72e150f85 /include/rssfuncs.php | |
parent | ee65bef40504ecd563613075a3880d66be6fd1ac (diff) |
pass feed it to feed_fetched and fetch_feed hooks
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 217bc2bf3..4c3e86123 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 |