From: Happy-melon Date: Fri, 3 Jun 2011 14:36:06 +0000 (+0000) Subject: Follow-up r89406 CR: another use of RequestContext::__get() X-Git-Tag: 1.31.0-rc.0~29737 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=23bb7c3ba6f1f473e487e5009df474581fc1893a;p=lhc%2Fweb%2Fwiklou.git Follow-up r89406 CR: another use of RequestContext::__get() --- diff --git a/includes/StubObject.php b/includes/StubObject.php index 78f9f6410d..951cbaea4d 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -148,6 +148,6 @@ class StubUserLang extends StubObject { } function _newObject() { - return RequestContext::getMain()->lang; + return RequestContext::getMain()->getLang(); } }