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