Add version information to a bunch of plugins

This commit is contained in:
Craig Andrews
2010-01-09 18:58:40 -05:00
parent 954335fa5e
commit c758b1b1d4
18 changed files with 168 additions and 1 deletions

View File

@@ -53,4 +53,15 @@ class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin
$registration_data['nickname'] = $username ;
return User::register($registration_data);
}
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Reverse Username Authentication',
'version' => STATUSNET_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:ReverseUsernameAuthentication',
'rawdescription' =>
_m('The Reverse Username Authentication plugin allows for StatusNet to handle authentication by checking if the provided password is the same as the reverse of the username.'));
return true;
}
}