mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 20:11:29 +00:00
remove $link
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
<?php
|
||||
class Mark_Button extends Plugin {
|
||||
private $link;
|
||||
private $host;
|
||||
|
||||
function init($host) {
|
||||
$this->link = $host->get_link();
|
||||
$this->host = $host;
|
||||
|
||||
$host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
|
||||
@@ -20,7 +18,7 @@ class Mark_Button extends Plugin {
|
||||
$marked_pic = "";
|
||||
$id = $line["id"];
|
||||
|
||||
if (get_pref($this->link, "COMBINED_DISPLAY_MODE")) {
|
||||
if (get_pref( "COMBINED_DISPLAY_MODE")) {
|
||||
if (sql_bool_to_bool($line["marked"])) {
|
||||
$marked_pic = "<img
|
||||
src=\"images/mark_set.svg\"
|
||||
|
||||
Reference in New Issue
Block a user