From d2a421e3cbaa782748840fc19afad4ac65f044b8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Dec 2012 10:02:08 +0400 Subject: more work on user-selectable plugins; properly process system and user plugins --- plugins/flattr/flattr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/flattr') diff --git a/plugins/flattr/flattr.php b/plugins/flattr/flattr.php index e5042632c..3ab7ebd85 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"); -- cgit v1.2.3