summaryrefslogtreecommitdiff
path: root/init.php
diff options
context:
space:
mode:
authorMarkus Birth <markus@birth-online.de>2013-04-09 12:23:00 +0200
committerMarkus Birth <markus@birth-online.de>2013-04-09 12:23:00 +0200
commit62f838a10447abb8373c087f7b746e625352bd3f (patch)
treea9b19b1f40169ed3539d0c81989257c49340651c /init.php
parenta1c27e5dcfc4c096f6d735c832542c0c3ac10b55 (diff)
downloadyafpp-62f838a10447abb8373c087f7b746e625352bd3f.tar.gz
yafpp-62f838a10447abb8373c087f7b746e625352bd3f.zip
Bugfix with PluginHost instance
Diffstat (limited to 'init.php')
-rw-r--r--init.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/init.php b/init.php
index 3507c07..da8e24e 100644
--- a/init.php
+++ b/init.php
@@ -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) {