From: Platonides Date: Sun, 23 Jan 2011 15:56:30 +0000 (+0000) Subject: Remove a couple of calls to ParserOptions::resetUsage(), missed on its removal in... X-Git-Tag: 1.31.0-rc.0~32406 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=10505ce8eed3e145fdd4244b69788ffadd2a147d;p=lhc%2Fweb%2Fwiklou.git Remove a couple of calls to ParserOptions::resetUsage(), missed on its removal in r79018 --- 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 );