From: Platonides Date: Wed, 30 Nov 2011 23:06:18 +0000 (+0000) Subject: Unused $wgParser. Fix comment X-Git-Tag: 1.31.0-rc.0~26205 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=0461342d2c80d8ce41c90decbeffdff134270490;p=lhc%2Fweb%2Fwiklou.git Unused $wgParser. Fix comment --- diff --git a/includes/WikiPage.php b/includes/WikiPage.php index 599cca42de..ed66879d4d 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -724,7 +724,7 @@ class WikiPage extends Page { /** * Get a ParserOutput for the given ParserOptions and revision ID. - * The the parser cache will be used if possible. + * The parser cache will be used if possible. * * @since 1.19 * @param $parserOptions ParserOptions to use for the parse operation @@ -733,8 +733,6 @@ class WikiPage extends Page { * @return ParserOutput or false if the revision was not found */ public function getParserOutput( ParserOptions $parserOptions, $oldid = null ) { - global $wgParser; - wfProfileIn( __METHOD__ ); $useParserCache = $this->isParserCacheUsed( $parserOptions, $oldid );