Unstub $wgLang in BasicFormatter::getLanguage() too

Bug: T118542
Change-Id: Ic9f3c03a3f1d38f2ea420cf32dcd3bb33d6c3635
This commit is contained in:
Kunal Mehta 2015-11-19 16:24:23 -08:00
parent 85943737b3
commit 8c49a812e1

View file

@ -337,6 +337,9 @@ class EchoBasicFormatter extends EchoNotificationFormatter {
return wfGetLangObj( $this->language );
}
// Make sure we unstub first
StubObject::unstub( $wgLang );
return $wgLang;
}