resourceloader: Remove CacheEpoch from MessageBlobStore::getFromDB
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 20 Oct 2015 21:14:33 +0000 (22:14 +0100)
committerOri.livneh <ori@wikimedia.org>
Wed, 21 Oct 2015 02:40:06 +0000 (02:40 +0000)
commit445136b5bfe2887a8ded26e2db4329a9a231eb93
tree3522cbe9e5b98b6ad0a40bcc942d84ca577ece61
parent7662212384f3e6eb7bff70c2a4108e4839395e62
resourceloader: Remove CacheEpoch from MessageBlobStore::getFromDB

CacheEpoch isn't meant for this (it's meant for page cache), I can't
imagine a scenario in which we'd want to bump that to invalidate
MessageBlobStore. It should be standalone and can be easily cleared
if needed by truncating the relevant table (it's automatically
repopulated).

This also removes wfTimestamp/DateTime overhead.

Change-Id: Iab06edbf71f20f3430207a80df90131c79dc03a7
includes/cache/MessageBlobStore.php