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:
parent
4051e45504
commit
0477318014
1 changed files with 0 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue