From: Christian Weiske Date: Wed, 24 May 2017 06:38:23 +0000 (+0200) Subject: Make plugin work with latest tt-rss X-Git-Tag: v0.1.0~8 X-Git-Url: https://git.cweiske.de/tt-rss-micropub.git/commitdiff_plain/ab47434e925ad4497c60fe31c3f01206659435b0 Make plugin work with latest tt-rss --- diff --git a/init.php b/init.php index 0f9a2bb..2fbabab 100644 --- a/init.php +++ b/init.php @@ -40,12 +40,12 @@ class Micropub extends Plugin implements IHandler return 2; } + /** * Register our hooks */ public function init(/*PluginHost*/ $host) { - parent::init($host); static::$myhost = $host; $host->add_hook($host::HOOK_PREFS_TAB, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this);