Bug 29524 - Rename RequestContext::getLang to getLanguage
[lhc/web/wiklou.git] / includes / parser / ParserOptions.php
index 7cf3f74..f26a2e4 100644 (file)
@@ -232,7 +232,7 @@ class ParserOptions {
         * @return ParserOptions object
         */
        public static function newFromContext( IContextSource $context ) {
-               return new ParserOptions( $context->getUser(), $context->getLang() );
+               return new ParserOptions( $context->getUser(), $context->getLanguage() );
        }
 
        /** Get user options */