Merge changes I7493a329,Iaa9dd210
[lhc/web/wiklou.git] / includes / specials / SpecialUserlogin.php
index 2fb1da7..9975741 100644 (file)
@@ -815,7 +815,7 @@ class LoginForm extends SpecialPage {
                                break;
                        case self::THROTTLED:
                                $this->mainLoginForm( $this->msg( 'login-throttled' )
-                               ->params ( $lang->formatDuration( $wgPasswordAttemptThrottle['seconds'] ) )
+                               ->params ( $this->getLanguage()->formatDuration( $wgPasswordAttemptThrottle['seconds'] ) )
                                ->text()
                                );
                                break;