Installer: Disable broken CACHE_DB after backend is disabled
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 4 Jun 2014 19:22:14 +0000 (21:22 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 4 Jun 2014 19:22:14 +0000 (21:22 +0200)
commit7263871639a72989f87ca3a1851c4eb16e382d7c
treeb111613ee3bba2f91e11729cf25c182c31c16fc4
parentbc8a54274c83abf8319243e4c605847b2899ef0c
Installer: Disable broken CACHE_DB after backend is disabled

We're currently not hitting any code that calls wfGetCache(), but
this seems like a good thing to do and would allow us to re-use
more code instead of duplicating a large method just because it
has a call to wfGetCache() somewhere.

This is already done for DB access and LocalisationCache in
general by the installer, but via SqlBagOStuff it can still
cause an exception from LBFactoryFake.

Change-Id: I69c1e34365c1d7503aea8ef47942d20c34318e85
includes/installer/Installer.php