You are here

public function MemoryQueue::deleteQueue in Drupal 7

Delete a queue and every item in the queue.

Overrides DrupalQueueInterface::deleteQueue

File

modules/system/system.queue.inc, line 363
Queue functionality.

Class

MemoryQueue
Static queue implementation.

Code

public function deleteQueue() {
  $this->queue = array();
  $this->id_sequence = 0;
}