From 10505ce8eed3e145fdd4244b69788ffadd2a147d Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 23 Jan 2011 15:56:30 +0000 Subject: [PATCH] Remove a couple of calls to ParserOptions::resetUsage(), missed on its removal in r79018 --- includes/parser/Parser.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 5266693e08..99df3d4dbd 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -4307,7 +4307,6 @@ class Parser { */ public function startExternalParse( &$title, $options, $outputType, $clearState = true ) { $this->setTitle( $title ); - $options->resetUsage(); $this->mOptions = $options; $this->setOutputType( $outputType ); if ( $clearState ) { @@ -5210,7 +5209,6 @@ class Parser { $title = Title::newFromText( $title ); } $this->mTitle = $title; - $options->resetUsage(); $this->setOutputType( $outputType ); $text = $this->replaceVariables( $text ); $text = $this->mStripState->unstripBoth( $text ); -- 2.20.1