Index: trunk/phase3/includes/specials/SpecialConfirmemail.php |
— | — | @@ -88,9 +88,10 @@ |
89 | 89 | // $time is kept for backward compat reasons. |
90 | 90 | // 'emailauthenticated' is also used in SpecialPreferences.php |
91 | 91 | $lang = $this->getLanguage(); |
92 | | - $time = $lang->userTimeAndDate( $user->mEmailAuthenticated, $user ); |
93 | | - $d = $lang->userDate( $user->mEmailAuthenticated, $user ); |
94 | | - $t = $lang->userTime( $user->mEmailAuthenticated, $user ); |
| 92 | + $emailAuthenticated = $user->getEmailAuthenticationTimestamp(); |
| 93 | + $time = $lang->userTimeAndDate( $emailAuthenticated, $user ); |
| 94 | + $d = $lang->userDate( $emailAuthenticated, $user ); |
| 95 | + $t = $lang->userTime( $emailAuthenticated, $user ); |
95 | 96 | $out->addWikiMsg( 'emailauthenticated', $time, $d, $t ); |
96 | 97 | } |
97 | 98 | if( $user->isEmailConfirmationPending() ) { |