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/auto_assign_labels | |
parent | 9e8d69739f21e5ac85977d57a2a6c961e318c26e (diff) |
plugin cleanup re: phpstan 1.0 warnings
Diffstat (limited to 'plugins/auto_assign_labels')
-rwxr-xr-x | plugins/auto_assign_labels/init.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/auto_assign_labels/init.php b/plugins/auto_assign_labels/init.php index 786720d95..84fce8d64 100755 --- a/plugins/auto_assign_labels/init.php +++ b/plugins/auto_assign_labels/init.php @@ -1,9 +1,6 @@ <?php class Auto_Assign_Labels extends Plugin { - /* @var PluginHost $host */ - private $host; - function about() { return array(null, "Assign labels automatically based on article title, content, and tags", @@ -11,8 +8,6 @@ class Auto_Assign_Labels extends Plugin { } function init($host) { - $this->host = $host; - $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); } |