You are here

public function MemoryQueue::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 347
Queue functionality.

Class

MemoryQueue
Static queue implementation.

Code

public function deleteItem($item) {
  unset($this->queue[$item->item_id]);
}