mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 06:55:56 +00:00
plugin cleanup re: phpstan 1.0 warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user