public function SystemQueue::deleteQueue in Drupal 7
Delete a queue and every item in the queue.
Overrides DrupalQueueInterface::deleteQueue
File
- modules/
system/ system.queue.inc, line 282 - Queue functionality.
Class
- SystemQueue
- Default queue implementation.
Code
public function deleteQueue() {
db_delete('queue')
->condition('name', $this->name)
->execute();
}