objectcache: minor refactoring to BagOStuff
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 26 Mar 2019 22:14:42 +0000 (15:14 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 26 Mar 2019 22:14:42 +0000 (15:14 -0700)
commitd5afd5f9096b2c61b5be66e74e633f9e6af78c3c
treef8b983282f0c71339973a9904dbb8d39666c4f0a
parent1a62e51a00321eb6674e27cdff57c683703a5579
objectcache: minor refactoring to BagOStuff

Split up expiry functions and moved add() near other primitive writes.

Change-Id: I97bb91e648b797b1ab5a6934d212689b1e67f7c6
includes/libs/objectcache/BagOStuff.php
includes/libs/objectcache/HashBagOStuff.php
includes/objectcache/SqlBagOStuff.php