Merge "Translate password reset e-mail subject into proper language"

This commit is contained in:
jenkins-bot 2015-09-23 07:40:32 +00:00 committed by Gerrit Code Review
commit 9ccb87edba

View file

@ -271,7 +271,7 @@ class SpecialPasswordReset extends FormSpecialPage {
round( $this->getConfig()->get( 'NewPasswordExpiry' ) / 86400 )
);
$title = $this->msg( 'passwordreset-emailtitle' );
$title = $this->msg( 'passwordreset-emailtitle' )->inLanguage( $userLanguage );
$this->result = $firstUser->sendMail( $title->text(), $this->email->text() );