objectcache: Use newAccelerator() fallback instead of try/catch
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 24 Aug 2015 20:53:16 +0000 (22:53 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 24 Aug 2015 23:03:10 +0000 (01:03 +0200)
commitf1223f90fd4b3891bcd18fe621e998c4190c8b9b
tree5a5da398e28f957e614dfa406ccb86a1f15188be
parent79ce51d1c90c350903916e995f8ed71083ad20bd
objectcache: Use newAccelerator() fallback instead of try/catch

Also remove confusing use of $wgMemc in LoadMonitorMySQL which
should always be the same as wfGetMainCache().

Change-Id: I4fb9d075a37d3d45af71a5026ccf2eb17f24d7b0
includes/db/LoadMonitorMySQL.php
includes/filebackend/SwiftFileBackend.php
includes/utils/MWCryptHKDF.php