Follow-up r89406 CR: another use of RequestContext::__get()
authorHappy-melon <happy-melon@users.mediawiki.org>
Fri, 3 Jun 2011 14:36:06 +0000 (14:36 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Fri, 3 Jun 2011 14:36:06 +0000 (14:36 +0000)
includes/StubObject.php

index 78f9f64..951cbae 100644 (file)
@@ -148,6 +148,6 @@ class StubUserLang extends StubObject {
        }
 
        function _newObject() {
-               return RequestContext::getMain()->lang;
+               return RequestContext::getMain()->getLang();
        }
 }