X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueMemory.php;h=b26129ee91eafbec42fce81cb3822fa94cb11adc;hb=a89f844919271da2e7c4d2a540de6d0f516d845a;hp=cb20a7607965b045c6c37545ac8fea0c32f27aa9;hpb=7621b57d958d0753236221227cbfb519d7faf192;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueueMemory.php b/includes/jobqueue/JobQueueMemory.php index cb20a76079..b26129ee91 100644 --- a/includes/jobqueue/JobQueueMemory.php +++ b/includes/jobqueue/JobQueueMemory.php @@ -33,9 +33,9 @@ class JobQueueMemory extends JobQueue { protected static $data = []; public function __construct( array $params ) { - parent::__construct( $params ); + $params['wanCache'] = new WANObjectCache( [ 'cache' => new HashBagOStuff() ] ); - $this->dupCache = new HashBagOStuff(); + parent::__construct( $params ); } /**