X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=plugins%2Fflattr%2Fflattr.php;h=3ab7ebd8575b455b76160ed746596f2581ff4c5b;hb=d2a421e3cbaa782748840fc19afad4ac65f044b8;hp=e5042632c6481c20e10ea775dd0f2c3f26521a34;hpb=de612e7a3850d3053c7038e94098c0681d46983b;p=tt-rss.git diff --git a/plugins/flattr/flattr.php b/plugins/flattr/flattr.php index e5042632..3ab7ebd8 100644 --- a/plugins/flattr/flattr.php +++ b/plugins/flattr/flattr.php @@ -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");