Set mCache in the second MessageCache::loadFromDatabase() caller
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 2 Feb 2017 22:06:33 +0000 (14:06 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 2 Feb 2017 22:06:33 +0000 (14:06 -0800)
commit44ac0de8d1d6c4dfdeeb9f52f18f164a18176b46
tree6644d4a0e916bf59c539661afcbdb1d5b637c125
parent7c0b5493012b960d9785c6d6fc080675293b61a8
Set mCache in the second MessageCache::loadFromDatabase() caller

The member variable is needed in the next lines, which previously
just used the array with "LATEST" set and would be seen as invalid
and discarded next time.

Bug: T157033
Change-Id: I5b84b1ae4a9c7b710ee452c61d7d9d6076ec9e6a
includes/cache/MessageCache.php