You are here

public function AcquiaPurgeQueueEfficient::deleteQueue in Acquia Purge 7

Delete a queue and every item in the queue.

Overrides SystemQueue::deleteQueue

File

lib/queue/AcquiaPurgeQueueEfficient.php, line 222
Contains EfficientQueue.

Class

AcquiaPurgeQueueEfficient
Efficient query bundling database queue.

Code

public function deleteQueue() {
  parent::deleteQueue();
  $this
    ->total()
    ->set(0);
  $this
    ->bad()
    ->set(0);
  $this
    ->good()
    ->set(0);
}