Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/80520


Change subject: Fatal error: Call to a member function formatDuration() on a 
non-object in SpecialUserlogin.php on line 818
......................................................................

Fatal error: Call to a member function formatDuration() on a
non-object in SpecialUserlogin.php on line 818

Bug: 53246
Change-Id: Ie2b23cefe569b31c2da67e16077d4557c6247bc9
---
M includes/specials/SpecialUserlogin.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/20/80520/1

diff --git a/includes/specials/SpecialUserlogin.php 
b/includes/specials/SpecialUserlogin.php
index 2081dd9..4c35963 100644
--- a/includes/specials/SpecialUserlogin.php
+++ b/includes/specials/SpecialUserlogin.php
@@ -815,7 +815,7 @@
                                break;
                        case self::THROTTLED:
                                $this->mainLoginForm( $this->msg( 
'login-throttled' )
-                               ->params ( $lang->formatDuration( 
$wgPasswordAttemptThrottle['seconds'] ) )
+                               ->params ( 
$this->getLanguage()->formatDuration( $wgPasswordAttemptThrottle['seconds'] ) )
                                ->text()
                                );
                                break;

-- 
To view, visit https://gerrit.wikimedia.org/r/80520
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie2b23cefe569b31c2da67e16077d4557c6247bc9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to