]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php
Merge commit 'refs/merge-requests/30' of https://gitorious.org/social/mainline into...
[quix0rs-gnu-social.git] / plugins / ReverseUsernameAuthentication / ReverseUsernameAuthenticationPlugin.php
index 8a05a773408cefb074130d9f7156ad47729e6f06..9a85a974aec9a4498e1ae0492ad07c332d715419 100644 (file)
@@ -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;
     }