You are here

public function SystemSetQueue::releaseItem in Queue Unique 7.2

Same name and namespace in other branches
  1. 7 src/Queue/SystemSetQueue.php \Drupal\queue_unique\Queue\SystemSetQueue::releaseItem()

File

src/Queue/SystemSetQueue.php, line 99
Contains \Drupal\queue_unique\Queue\SystemSetQueue

Class

SystemSetQueue

Namespace

Drupal\queue_unique\Queue

Code

public function releaseItem($item) {
  $update = db_update(static::TABLE_NAME)
    ->fields(array(
    'expire' => 0,
  ))
    ->condition('item_id', $item->item_id);
  return $update
    ->execute();
}