r40551 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40550‎ | r40551 | r40552 >
Date:21:52, 6 September 2008
Author:aaron
Status:old
Tags:
Comment:
Remove type check for userIsNew(), shouldn't be needed
Modified paths:
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -89,7 +89,7 @@
9090 return $f;
9191 }
9292
93 - protected static function userIsNew( Array $attribs ) {
 93+ protected static function userIsNew( $attribs ) {
9494 global $wgAutoConfirmCount, $wgAutoConfirmAge;
9595 if( !array_key_exists('user_editcount',$attribs) || !array_key_exists('user_registration',$attribs) ) {
9696 return false; // missing input!

Follow-up revisions

RevisionCommit summaryAuthorDate
r40901Revert r40627, r40551, r40536, r40535 (mark non-autoconfirmed users in RC and...tstarling05:56, 16 September 2008