]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/mail/mail.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / mail / mail.php
index 648148cd3f28c3a52b28b2482f1ed7ff6c684ea4..ed65ca021f4f8e5dd0b84f100c9e7e363a81a5d7 100644 (file)
@@ -4,13 +4,13 @@ class Mail extends Plugin {
        private $link;
        private $host;
 
-       function _about() {
+       function about() {
                return array(1.0,
                        "Adds a share article via email button",
                        "fox");
        }
 
-       function __construct($host) {
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;