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/googleplus/googleplus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/googleplus') diff --git a/plugins/googleplus/googleplus.php b/plugins/googleplus/googleplus.php index a100573de..11e58de2e 100644 --- a/plugins/googleplus/googleplus.php +++ b/plugins/googleplus/googleplus.php @@ -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"); -- cgit v1.2.3