public function MemoryQueue::deleteItem
public MemoryQueue::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 347
- Queue functionality.
Class
- MemoryQueue
- Static queue implementation.
Code
public function deleteItem($item) { unset($this->queue[$item->item_id]); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.queue.inc/function/MemoryQueue::deleteItem/7.x