]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add version information to PiwikAnalyticsPlugin
authorEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:47:23 +0000 (17:47 -0800)
committerEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:47:23 +0000 (17:47 -0800)
plugins/PiwikAnalyticsPlugin.php

index fefd098671269f25a983559206d5cd0355da1cb3..b353d725526920c22df02be716a374050159e7d4 100644 (file)
@@ -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;
+    }
+
 }