]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/googleplus/googleplus.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / googleplus / googleplus.php
index a100573de1fc4694685194e2f6a0853cf2a414c4..11e58de2ed35afe477de38a448f6b3d07582e0e8 100644 (file)
@@ -3,14 +3,14 @@ class GooglePlus extends Plugin {
        private $link;
        private $host;
 
-       function __construct($host) {
+       function init($host) {
                $this->link = $host->get_link();
                $this->host = $host;
 
                $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this);
        }
 
-       function _about() {
+       function about() {
                return array(1.0,
                        "Share on Google+ plugin",
                        "homolibere");