Index: trunk/phase3/includes/Autopromote.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | if( User::isValidEmailAddr( $user->getEmail() ) ) { |
51 | 51 | global $wgEmailAuthentication; |
52 | 52 | if( $wgEmailAuthentication ) { |
53 | | - return boolval( $user->getEmailAuthenticationTimestamp() ); |
| 53 | + return $user->getEmailAuthenticationTimestamp() ? true : false; |
54 | 54 | } else { |
55 | 55 | return true; |
56 | 56 | } |