From: Andrew Dolgov Date: Tue, 1 Mar 2016 11:42:15 +0000 (+0300) Subject: pass feed information to hook_article_export_feed X-Git-Tag: 16.3~20 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9232283815c72e82d1b2167c03954b687a15fad4;p=tt-rss.git pass feed information to hook_article_export_feed --- diff --git a/classes/handler/public.php b/classes/handler/public.php index f37d1f67..46fc90fe 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -135,7 +135,7 @@ class Handler_Public extends Handler { } foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_EXPORT_FEED) as $p) { - $line = $p->hook_article_export_feed($line); + $line = $p->hook_article_export_feed($line, $feed, $is_cat); } $tpl->setVariable('ARTICLE_ID', @@ -227,7 +227,7 @@ class Handler_Public extends Handler { } foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_EXPORT_FEED) as $p) { - $line = $p->hook_article_export_feed($line); + $line = $p->hook_article_export_feed($line, $feed, $is_cat); } $article = array();