1
0

Bugfix with PluginHost instance

This commit is contained in:
2013-04-09 12:23:00 +02:00
parent a1c27e5dcf
commit 62f838a104

View File

@ -46,10 +46,8 @@ class Af_Feedmod extends Plugin implements IHandler
function hook_article_filter($article)
{
global $pluginhost;
$json_conf = $pluginhost->get($this, 'json_conf');
$json_conf = $this->host->get($this, 'json_conf');
$owner_uid = $article['owner_uid'];
$data = json_decode($json_conf, true);
foreach ($data as $urlpart=>$config) {