API: Remove unused asignment to $titleProvided in ApiExpandTemplates

The variable $titleProvided is not used in the following code.

Change-Id: I879ecfb589616882ba7193943f843f9226277f3e
This commit is contained in:
Fomafix 2019-08-30 21:10:30 +02:00 committed by Krinkle
parent 4051e45504
commit 0477318014

View file

@ -76,10 +76,6 @@ class ApiExpandTemplates extends ApiBase {
$this->addWarning( [ 'apierror-revwrongpage', $rev->getId(),
wfEscapeWikiText( $pTitleObj->getPrefixedText() ) ] );
}
} else {
// Consider the title derived from the revid as having
// been provided.
$titleProvided = true;
}
}