Remove a couple of calls to ParserOptions::resetUsage(), missed on its removal in r79018
This commit is contained in:
parent
0552353f1f
commit
10505ce8ee
1 changed files with 0 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue