add version info to OpenID plugin

This commit is contained in:
Evan Prodromou 2010-01-07 17:41:55 -08:00
parent 1c824a52ec
commit 0587dcc045

View File

@ -308,4 +308,15 @@ class OpenIDPlugin extends Plugin
$tables[] = 'User_openid_trustroot'; $tables[] = 'User_openid_trustroot';
return true; return true;
} }
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'OpenID',
'version' => STATUSNET_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:OpenID',
'rawdescription' =>
_m('Use <a href="http://openid.net/">OpenID</a> to login to the site.'));
return true;
}
} }