Fix default "srvCache" BagOStuff in DatabaseBase
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 18:06:31 +0000 (11:06 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 15 Sep 2016 18:06:31 +0000 (11:06 -0700)
Follow up to 4660b56f

Change-Id: I19975ce66ddc318fd494d5c4a3807c62d04fad70

includes/db/Database.php

index 917bc91..dc67e9e 100644 (file)
@@ -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']