]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/share/share.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / share / share.php
index 254b68bca61a71399212db87a450efe5a752420b..e1151849b8ebc26c85c65112d3f5f51e937e79b1 100644 (file)
@@ -3,13 +3,13 @@ class Share extends Plugin {
        private $link;
        private $host;
 
-       function _about() {
+       function about() {
                return array(1.0,
                        "Share article by unique URL",
                        "fox");
        }
 
-       function __construct($host) {
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;