From: Florian Date: Sat, 26 Sep 2015 22:43:27 +0000 (+0200) Subject: Add 'hash' object cache for installer X-Git-Tag: 1.31.0-rc.0~9764^2 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=ded1a61e20e2e9cf44e4189d761e1c8942bfea89;p=lhc%2Fweb%2Fwiklou.git Add 'hash' object cache for installer It's used to e.g. cache less files in ResourceLoader, which would throw an exception if the installer is used (while it requests the installer styles), if the object cache isn't defined. Follow up: I1ff61153ddb9 Bug: T113843 Change-Id: I1c1938b3fac395dda5b42dd68b675a67bdd30261 --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index d98ca797ea..f426081d4a 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -375,6 +375,8 @@ abstract class Installer { CACHE_DB => $emptyCache, CACHE_ANYTHING => $emptyCache, CACHE_MEMCACHED => $emptyCache, + // Set hash object cache (e.g. used in ResourceLoader LESS caching) - bug T113843 + 'hash' => array( 'class' => 'HashBagOStuff' ), ); // Load the installer's i18n.