public function SystemQueue::deleteItem

cis7 system.queue.inc public SystemQueue::deleteItem($item)
cle7 system.queue.inc public SystemQueue::deleteItem($item)
elmsmedia7 system.queue.inc public SystemQueue::deleteItem($item)
icor7 system.queue.inc public SystemQueue::deleteItem($item)
meedjum_blog7 system.queue.inc public SystemQueue::deleteItem($item)
mooc7 system.queue.inc public SystemQueue::deleteItem($item)

Delete a finished item from the queue.

Parameters

$item: The item returned by DrupalQueueInterface::claimItem().

Overrides DrupalQueueInterface::deleteItem

File

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

Class

SystemQueue
Default queue implementation.

Code

public function deleteItem($item) {
  db_delete('queue')->condition('item_id', $item->item_id)->execute();
}