add version information to PiwikAnalyticsPlugin

This commit is contained in:
Evan Prodromou 2010-01-07 17:47:23 -08:00
parent afaefa6942
commit 6395ac71b8
1 changed files with 12 additions and 0 deletions

View 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;
}
}