Merge "Turn off "reportDupes" in CachedBagOStuff"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 6 Sep 2016 21:03:27 +0000 (21:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 6 Sep 2016 21:03:27 +0000 (21:03 +0000)
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;