summaryrefslogtreecommitdiff
path: root/plugins/PiwikAnalyticsPlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-07 17:47:23 -0800
committerEvan Prodromou <evan@status.net>2010-01-07 17:47:23 -0800
commit6395ac71b8b359098801d914dfc930affda1984b (patch)
treeaf6f479e59d6a4803317fd7b8444ac571bb34833 /plugins/PiwikAnalyticsPlugin.php
parentafaefa69425f1eca6f7a1db4585b7ea37d851ed2 (diff)
add version information to PiwikAnalyticsPlugin
Diffstat (limited to 'plugins/PiwikAnalyticsPlugin.php')
-rw-r--r--plugins/PiwikAnalyticsPlugin.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/PiwikAnalyticsPlugin.php b/plugins/PiwikAnalyticsPlugin.php
index fefd09867..b353d7255 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 <a href="http://piwik.org/">Piwik</a> Open Source Web analytics software.'));
+ return true;
+ }
+
}