Remove a couple of calls to ParserOptions::resetUsage(), missed on its removal in...
authorPlatonides <platonides@users.mediawiki.org>
Sun, 23 Jan 2011 15:56:30 +0000 (15:56 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 23 Jan 2011 15:56:30 +0000 (15:56 +0000)
includes/parser/Parser.php

index 5266693..99df3d4 100644 (file)
@@ -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 );