From: Aaron Schulz Date: Sat, 6 Sep 2008 21:52:18 +0000 (+0000) Subject: Remove type check for userIsNew(), shouldn't be needed X-Git-Tag: 1.31.0-rc.0~45434 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=dade4d6d8e08296ec65cc36393cf2b45856fa871;p=lhc%2Fweb%2Fwiklou.git Remove type check for userIsNew(), shouldn't be needed --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index fb013e81aa..8b8fd50f0c 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -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!