You are here

public function AdvancedQueue::deleteQueue in Advanced Queue 7

Delete a queue and every item in the queue.

Overrides DrupalQueueInterface::deleteQueue

File

./advancedqueue.queue.inc, line 158

Class

AdvancedQueue
Extended queue.

Code

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