diff --git a/plugins/mark_button/init.php b/plugins/mark_button/init.php deleted file mode 100644 index 8f05d1ada..000000000 --- a/plugins/mark_button/init.php +++ /dev/null @@ -1,42 +0,0 @@ -host = $host; - - $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this); - } - - function about() { - return array(1.0, - "Bottom un/star button for the combined mode", - "fox"); - } - - function hook_article_button($line) { - $marked_pic = ""; - $id = $line["id"]; - - if (get_pref("COMBINED_DISPLAY_MODE")) { - if (sql_bool_to_bool($line["marked"])) { - $marked_pic = "\"Unstar"; - } else { - $marked_pic = "\"Star"; - } - } - - return $marked_pic; - } - - function api_version() { - return 2; - } - -}