Index: trunk/phase3/includes/User.php |
— | — | @@ -493,7 +493,7 @@ |
494 | 494 | if( !wfRunHooks( 'isValidPassword', array( $password, &$result ) ) ) |
495 | 495 | return $result; |
496 | 496 | if( $result === false ) |
497 | | - return $false; |
| 497 | + return false; |
498 | 498 | |
499 | 499 | // Password needs to be long enough, and can't be the same as the username |
500 | 500 | return strlen( $password ) >= $wgMinimalPasswordLength |