]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/flattr/flattr.php
more work on user-selectable plugins; properly process system and user plugins
[tt-rss.git] / plugins / flattr / flattr.php
index e5042632c6481c20e10ea775dd0f2c3f26521a34..3ab7ebd8575b455b76160ed746596f2581ff4c5b 100644 (file)
@@ -3,14 +3,14 @@ class Flattr 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 Flattr plugin",
                        "Nic Honing");