Turn off "reportDupes" in CachedBagOStuff
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Sep 2016 20:36:16 +0000 (13:36 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Sep 2016 20:36:16 +0000 (13:36 -0700)
Change-Id: I79148be842a940c92e555e10b24c32cdf7609539

includes/libs/objectcache/CachedBagOStuff.php

index e70a51f..74bf4b5 100644 (file)
@@ -42,6 +42,8 @@ class CachedBagOStuff extends HashBagOStuff {
         * @param array $params Parameters for HashBagOStuff
         */
        function __construct( BagOStuff $backend, $params = [] ) {
+               unset( $params['reportDupes'] ); // useless here
+
                parent::__construct( $params );
 
                $this->backend = $backend;