public function SystemQueue::deleteQueue

7.x system.queue.inc public SystemQueue::deleteQueue()

Delete a queue and every item in the queue.

Overrides DrupalQueueInterface::deleteQueue

File

drupal/modules/system/system.queue.inc, line 289
Queue functionality.

Class

SystemQueue
Default queue implementation.

Code

public function deleteQueue() {
  db_delete('queue')->condition('name', $this->name)->execute();
}