mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Unstub $wgLang in BasicFormatter::getLanguage() too
Bug: T118542 Change-Id: Ic9f3c03a3f1d38f2ea420cf32dcd3bb33d6c3635
This commit is contained in:
parent
85943737b3
commit
8c49a812e1
|
@ -337,6 +337,9 @@ class EchoBasicFormatter extends EchoNotificationFormatter {
|
|||
return wfGetLangObj( $this->language );
|
||||
}
|
||||
|
||||
// Make sure we unstub first
|
||||
StubObject::unstub( $wgLang );
|
||||
|
||||
return $wgLang;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue