Merge "Revert "Don't construct SpecialPages twice""
[lhc/web/wiklou.git] / includes / libs / objectcache / CachedBagOStuff.php
index 60ec922..74bf4b5 100644 (file)
@@ -42,8 +42,12 @@ class CachedBagOStuff extends HashBagOStuff {
         * @param array $params Parameters for HashBagOStuff
         */
        function __construct( BagOStuff $backend, $params = [] ) {
-               $this->backend = $backend;
+               unset( $params['reportDupes'] ); // useless here
+
                parent::__construct( $params );
+
+               $this->backend = $backend;
+               $this->attrMap = $backend->attrMap;
        }
 
        protected function doGet( $key, $flags = 0 ) {