diff options
author | Andrew Dolgov <[email protected]> | 2012-12-25 10:02:08 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-25 10:02:08 +0400 |
commit | d2a421e3cbaa782748840fc19afad4ac65f044b8 (patch) | |
tree | fed3583a4f855c5c0c7c7a9d6c3f8effc94932d6 /plugins/flattr | |
parent | de612e7a3850d3053c7038e94098c0681d46983b (diff) |
more work on user-selectable plugins; properly process system and user plugins
Diffstat (limited to 'plugins/flattr')
-rw-r--r-- | plugins/flattr/flattr.php | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |