[MCR] RevisionStore::getTitle, Fix flags passed to Title::newFromID
authoraddshore <addshorewiki@gmail.com>
Wed, 10 Jan 2018 16:17:40 +0000 (16:17 +0000)
committerAddshore <addshorewiki@gmail.com>
Wed, 10 Jan 2018 18:26:30 +0000 (18:26 +0000)
commit37f52ed76293a5da4257ab18223c74025ed67273
tree7bb9018e4ff7fffb144f19f89cbce3d127d053b4
parent7c36faa73bf6105e0f66f2dd531440c9afe0b732
[MCR] RevisionStore::getTitle, Fix flags passed to Title::newFromID

This was passing $queryFlags directly into Title::newFromID which
expects different flags.

Instead we now set Title::GAID_FOR_UPDATE if $queryFlags will end up
hitting the master.

Change-Id: I9c6e275c22fe74a98e79c54049afa4915a7f565d
includes/Storage/RevisionStore.php