* @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 ) {