]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php
Fixed type hints:
[quix0rs-gnu-social.git] / plugins / ReverseUsernameAuthentication / ReverseUsernameAuthenticationPlugin.php
index dac5a158841a77a483fdd488f852b39dd6a1567a..9a85a974aec9a4498e1ae0492ad07c332d715419 100644 (file)
@@ -22,7 +22,7 @@
  * @category  Plugin
  * @package   StatusNet
  * @author    Craig Andrews <candrews@integralblue.com>
- * @copyright 2009 Craig Andrews http://candrews.integralblue.com
+ * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
  * @link      http://status.net/
  */
@@ -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;
     }