summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-10 21:06:07 +0300
committerAndrew Dolgov <[email protected]>2021-11-10 21:06:07 +0300
commit8049c84e75d1e1d2ca9d754f0079461f7d913f99 (patch)
tree6fc926923df8332598a145947556295ad403e640
parent36700974891ea33689e7e561b1a7bb244f7f641a (diff)
phpstan 1.0 cleanup
-rw-r--r--init.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/init.php b/init.php
index 59871e3..abdf93f 100644
--- a/init.php
+++ b/init.php
@@ -1,6 +1,5 @@
<?php
class Search_Button extends Plugin {
- private $host;
function about() {
return array(1.0,
@@ -9,8 +8,6 @@ class Search_Button extends Plugin {
}
function init($host) {
- $this->host = $host;
-
$host->add_hook($host::HOOK_MAIN_TOOLBAR_BUTTON, $this);
}