diff options
author | Andrew Dolgov <[email protected]> | 2021-11-10 20:58:40 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-10 20:58:40 +0300 |
commit | 87a30d88d36941ad817f0d1409e2ededbe576af6 (patch) | |
tree | 0bd599c73c4bb16fab6d58b24332ac5497503e35 /plugins/note | |
parent | 9e8d69739f21e5ac85977d57a2a6c961e318c26e (diff) |
plugin cleanup re: phpstan 1.0 warnings
Diffstat (limited to 'plugins/note')
-rw-r--r-- | plugins/note/init.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/note/init.php b/plugins/note/init.php index f95ba9fa8..bc3df64b1 100644 --- a/plugins/note/init.php +++ b/plugins/note/init.php @@ -1,9 +1,6 @@ <?php class Note extends Plugin { - /* @var PluginHost $host */ - private $host; - function about() { return array(null, "Adds support for setting article notes", @@ -11,8 +8,6 @@ class Note extends Plugin { } function init($host) { - $this->host = $host; - $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this); } |