X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=plugins%2Fclose_button%2Finit.php;h=6fdd96f557272baea79c4797be5cb54603cd7b99;hb=6322ac79a020ab584d412d782d62b2ee77d7c6cf;hp=ff2027bc78cd7c98351b018c8bc13adfd79f6b5b;hpb=2a3b6de0efd66a9643bce7ded70288d0ddf9fb24;p=tt-rss.git diff --git a/plugins/close_button/init.php b/plugins/close_button/init.php index ff2027bc..6fdd96f5 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 = "