X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FReverseUsernameAuthentication%2FReverseUsernameAuthenticationPlugin.php;h=9a85a974aec9a4498e1ae0492ad07c332d715419;hb=5e47b1b2a07d8b300c511115ca018ece172a8505;hp=8a05a773408cefb074130d9f7156ad47729e6f06;hpb=cd29d3d646379aa9a1352035973c8e379cc7f42b;p=quix0rs-gnu-social.git diff --git a/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php b/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php index 8a05a77340..9a85a974ae 100644 --- a/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php +++ b/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php @@ -57,13 +57,14 @@ class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin return User::register($registration_data); } - function onPluginVersion(&$versions) + function onPluginVersion(array &$versions) { $versions[] = array('name' => 'Reverse Username Authentication', - 'version' => STATUSNET_VERSION, + 'version' => GNUSOCIAL_VERSION, 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:ReverseUsernameAuthentication', 'rawdescription' => + // TRANS: Plugin description. _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; }