diff options
| author | Markus Birth <markus@birth-online.de> | 2013-04-09 12:23:00 +0200 |
|---|---|---|
| committer | Markus Birth <markus@birth-online.de> | 2013-04-09 12:23:00 +0200 |
| commit | 62f838a10447abb8373c087f7b746e625352bd3f (patch) | |
| tree | a9b19b1f40169ed3539d0c81989257c49340651c /init.php | |
| parent | a1c27e5dcfc4c096f6d735c832542c0c3ac10b55 (diff) | |
| download | yafpp-62f838a10447abb8373c087f7b746e625352bd3f.tar.gz yafpp-62f838a10447abb8373c087f7b746e625352bd3f.zip | |
Bugfix with PluginHost instance
Diffstat (limited to 'init.php')
| -rw-r--r-- | init.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) { |
