From: Aaron Schulz Date: Thu, 15 Sep 2016 18:06:31 +0000 (-0700) Subject: Fix default "srvCache" BagOStuff in DatabaseBase X-Git-Tag: 1.31.0-rc.0~5548^2 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=da5c0ca4e3991dc3a019654f755ed010410c0b0e;p=lhc%2Fweb%2Fwiklou.git Fix default "srvCache" BagOStuff in DatabaseBase Follow up to 4660b56f Change-Id: I19975ce66ddc318fd494d5c4a3807c62d04fad70 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 917bc910dc..dc67e9ea2f 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -267,7 +267,7 @@ abstract class DatabaseBase implements IDatabase, LoggerAwareInterface { $this->srvCache = isset( $params['srvCache'] ) ? $params['srvCache'] - : new EmptyBagOStuff(); + : new HashBagOStuff(); $this->profiler = isset( $params['profiler'] ) ? $params['profiler']