From 0461342d2c80d8ce41c90decbeffdff134270490 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 30 Nov 2011 23:06:18 +0000 Subject: [PATCH] Unused $wgParser. Fix comment --- includes/WikiPage.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 ); -- 2.20.1