public function SystemSetQueue::releaseItem in Queue Unique 7
Same name and namespace in other branches
- 7.2 src/Queue/SystemSetQueue.php \Drupal\queue_unique\Queue\SystemSetQueue::releaseItem()
File
- src/
Queue/ SystemSetQueue.php, line 96 - Contains \Drupal\queue_unique\Queue\SystemSetQueue
Class
Namespace
Drupal\queue_unique\QueueCode
public function releaseItem($item) {
$update = db_update(static::TABLE_NAME)
->fields(array(
'expire' => 0,
))
->condition('item_id', $item->item_id);
return $update
->execute();
}