DevelopmentSettings: Remove redundant CacheType overrides
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 13 Jun 2019 01:08:53 +0000 (02:08 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 13 Jun 2019 14:12:20 +0000 (15:12 +0100)
commit35fc6499f79f792d2fb11907a1b16fbffd1cee3b
tree2b5f81e827bd86fbbba73a2ce216c5c97b35aeb8
parent7e0fb4fff6a247802c2209df48cf9fab8bfb8563
DevelopmentSettings: Remove redundant CacheType overrides

Follows-up 5a090c29822. This is no longer needed as of
7e0fb4fff6, which will add this to the generated LocalSettings.php
file automatically.

The installer now sets MainCacheType for CLI installs, the same
way as the web installer did already.

The secondary cache types have as default CACHE_ANYTHING (not
CACHE_NONE) and will automatically inherit from MainCacheType.

This commit unbreaks situations where developers have MainCache
set to something (e.g. Redis, or Memc) which after 5a090c29822
caused other types to go to APC instead of Memc.

Bug: T225496
Change-Id: Ib2824a6d316912daf09672de748726b91e4de449
includes/DevelopmentSettings.php