make ORMRow compatible with load balancer, replace usage of wfGetDB( DB_MASTER )
[lhc/web/wiklou.git] / includes / Title.php
index b484045..c1e2ccf 100644 (file)
@@ -4702,8 +4702,6 @@ class Title {
                $contentHandler = ContentHandler::getForTitle( $this );
                $pageLang = $contentHandler->getPageLanguage( $this );
 
-               // Hook at the end because we don't want to override the above stuff
-               wfRunHooks( 'PageContentLanguage', array( $this, &$pageLang, $wgLang ) );
                return wfGetLangObj( $pageLang );
        }