diff options
Diffstat (limited to 'includes/SpecialResetpass.php')
-rw-r--r-- | includes/SpecialResetpass.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/SpecialResetpass.php b/includes/SpecialResetpass.php index 281a78b6..2ecd15b0 100644 --- a/includes/SpecialResetpass.php +++ b/includes/SpecialResetpass.php @@ -25,7 +25,7 @@ class PasswordResetForm extends SpecialPage { /** * Main execution point */ - function execute( $par='' ) { + function execute( $par ) { global $wgUser, $wgAuth, $wgOut, $wgRequest; if( !$wgAuth->allowPasswordChange() ) { @@ -43,7 +43,7 @@ class PasswordResetForm extends SpecialPage { $retype = $wgRequest->getVal( 'wpRetype' ); try { $this->attemptReset( $newpass, $retype ); - $wgOut->addWikiText( wfMsg( 'resetpass_success' ) ); + $wgOut->addWikiMsg( 'resetpass_success' ); $data = array( 'action' => 'submitlogin', |