]> 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 c9b6ed541c0150806acb715942bec4fecba01c19..ed65ca021f4f8e5dd0b84f100c9e7e363a81a5d7 100644 (file)
@@ -4,7 +4,13 @@ class Mail extends Plugin {
        private $link;
        private $host;
 
-       function __construct($host) {
+       function about() {
+               return array(1.0,
+                       "Adds a share article via email button",
+                       "fox");
+       }
+
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;