summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.php b/init.php
index ed9292d..c14026c 100644
--- a/init.php
+++ b/init.php
@@ -1,7 +1,7 @@
<?php
class Close_Button extends Plugin {
function init($host) {
- $this->host->add_hook($this->host::HOOK_ARTICLE_BUTTON, $this);
+ $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
}
function about() {