Reedy has submitted this change and it was merged.

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
(cherry picked from commit 01bb5cac0780032e48e2f5893f820ea9380f540c)
---
M includes/specials/SpecialUserlogin.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Reedy: Verified; Looks good to me, approved
  jenkins-bot: Verified



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/80521
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie2b23cefe569b31c2da67e16077d4557c6247bc9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.22wmf14
Gerrit-Owner: Reedy <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to