Convert LCStoreDB to using startAtomic/endAtomic
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 9 Nov 2015 06:29:40 +0000 (22:29 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 9 Nov 2015 19:54:07 +0000 (19:54 +0000)
commitef9f0ed8a135c4a1a5c62dbc9e96b069f6affdff
tree31f3fd2189b9f335bc981a48d981c4b970c8fcbe
parent809e9979260501fedf5bc5d30df9902737c6f022
Convert LCStoreDB to using startAtomic/endAtomic

* This avoids throwing atomic section errors when recache()
  is triggered in the middle of transactions.
* Also made the read-only checks handle $wgReadOnly mode.

Change-Id: Ie00cf8454656a6dc3b1862475a959b2af3b472f0
includes/cache/LocalisationCache.php