X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueMemory.php;h=b26129ee91eafbec42fce81cb3822fa94cb11adc;hb=4cc031607c9b8e17265e51372b94399399254966;hp=cb20a7607965b045c6c37545ac8fea0c32f27aa9;hpb=3353ced6cd3148de1549568ee9633a913fd5faab;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 ); } /**