summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-15 06:47:20 +0300
committerAndrew Dolgov <[email protected]>2021-11-15 06:47:20 +0300
commitd36ebd27c14abf51d6faff16313908291deb8483 (patch)
tree84a4f7951a13d3aa6134f48de36418680676869b
parentade6c5b6ba99c9436310accde69f624da26c7071 (diff)
fix phpstan warnings
-rw-r--r--init.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/init.php b/init.php
index 4e81fde..e627c4f 100644
--- a/init.php
+++ b/init.php
@@ -1,8 +1,6 @@
<?php
class Af_Fsckportal extends Plugin {
- private $host;
-
function about() {
return array(null,
"Remove feedsportal spamlinks from article content",
@@ -10,8 +8,6 @@ class Af_Fsckportal extends Plugin {
}
function init($host) {
- $this->host = $host;
-
$host->add_hook($host::HOOK_ARTICLE_FILTER, $this);
}