Remove type check for userIsNew(), shouldn't be needed
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 6 Sep 2008 21:52:18 +0000 (21:52 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 6 Sep 2008 21:52:18 +0000 (21:52 +0000)
includes/ChangesList.php

index fb013e8..8b8fd50 100644 (file)
@@ -89,7 +89,7 @@ class ChangesList {
                return $f;
        }
        
-       protected static function userIsNew( Array $attribs ) {
+       protected static function userIsNew( $attribs ) {
                global $wgAutoConfirmCount, $wgAutoConfirmAge;
                if( !array_key_exists('user_editcount',$attribs) || !array_key_exists('user_registration',$attribs) ) {
                        return false; // missing input!