From: Evan Prodromou Date: Fri, 8 Jan 2010 01:47:23 +0000 (-0800) Subject: add version information to PiwikAnalyticsPlugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6395ac71b8b359098801d914dfc930affda1984b;p=quix0rs-gnu-social.git add version information to PiwikAnalyticsPlugin --- diff --git a/plugins/PiwikAnalyticsPlugin.php b/plugins/PiwikAnalyticsPlugin.php index fefd098671..b353d72552 100644 --- a/plugins/PiwikAnalyticsPlugin.php +++ b/plugins/PiwikAnalyticsPlugin.php @@ -97,4 +97,16 @@ ENDOFPIWIK; $action->inlineScript($piwikCode2); return true; } + + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'PiwikAnalytics', + 'version' => STATUSNET_VERSION, + 'author' => 'Tobias Diekershoff, Evan Prodromou', + 'homepage' => 'http://status.net/wiki/Plugin:Piwik', + 'rawdescription' => + _m('Use Piwik Open Source Web analytics software.')); + return true; + } + }