Implements Drupal\Core\Lock\LockBackedInterface::releaseAll().
Overrides LockBackendInterface::releaseAll
public function releaseAll($lock_id = NULL) {
$this->locks = array();
if (empty($lock_id)) {
$lock_id = $this
->getLockId();
}
db_delete('semaphore')
->condition('value', $lock_id)
->execute();
}