From ded1a61e20e2e9cf44e4189d761e1c8942bfea89 Mon Sep 17 00:00:00 2001 From: Florian Date: Sun, 27 Sep 2015 00:43:27 +0200 Subject: [PATCH] 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 --- includes/installer/Installer.php | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.20.1