From dade4d6d8e08296ec65cc36393cf2b45856fa871 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 6 Sep 2008 21:52:18 +0000 Subject: [PATCH] Remove type check for userIsNew(), shouldn't be needed --- includes/ChangesList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! -- 2.20.1