public function SystemQueue::deleteItem in Drupal 7
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();
}