From 6322ac79a020ab584d412d782d62b2ee77d7c6cf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 16:23:15 +0400 Subject: remove $link --- plugins/close_button/init.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/close_button') diff --git a/plugins/close_button/init.php b/plugins/close_button/init.php index ff2027bc7..6fdd96f55 100644 --- a/plugins/close_button/init.php +++ b/plugins/close_button/init.php @@ -1,10 +1,8 @@ link = $host->get_link(); $this->host = $host; $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this); @@ -17,7 +15,7 @@ class Close_Button extends Plugin { } function hook_article_button($line) { - if (!get_pref($this->link, "COMBINED_DISPLAY_MODE")) { + if (!get_pref( "COMBINED_DISPLAY_MODE")) { $rv = "