[MCR] Revision::newFromArchiveRow remove recently added $title param
authoraddshore <addshorewiki@gmail.com>
Thu, 28 Dec 2017 18:57:13 +0000 (18:57 +0000)
committeraddshore <addshorewiki@gmail.com>
Thu, 28 Dec 2017 19:58:20 +0000 (19:58 +0000)
commit0f6afd343082036b54d5b6ed0f73cbc485a5221c
tree9683c138714d10357a3295929da9931adc65fc7e
parent69f9a18e461584d6a7240276baca13d037644d06
[MCR] Revision::newFromArchiveRow remove recently added $title param

The $title param was added as part of
Ieabca1cf157fb667c75fc907b9da2917f71c61b3 and is not yet used
by any code.

The underlying issue with title fetching in RevisionStore has been fixed
in commit 4de36baa63afc23398f5d1747f08fc47309c314c
I15e4663902e2cbfe15b0da2e46449330e313bd0d

This patch removes the param that is not needed, but adds duplicate
logic to fetch a Title object to pass into the Revision object that
is created.
This logic is pulled directly from
RevisionStore::newRevisionFromArchiveRow.

Change-Id: I60568b8ffd22d5e3f861c03b4b8ef14332e9015b
includes/Revision.php