public function AcquiaPurgeService::lockRelease in Acquia Purge 7
Release a lock set on the queue.
1 call to AcquiaPurgeService::lockRelease()
- AcquiaPurgeService::clear in lib/
AcquiaPurgeService.php - Empty the queue and reset all state data.
File
- lib/
AcquiaPurgeService.php, line 372 - Contains AcquiaPurgeService.
Class
- AcquiaPurgeService
- The Acquia Purge service.
Code
public function lockRelease() {
$locked = $this
->state()
->get('locked', FALSE);
if ($locked
->get() !== FALSE) {
$locked
->set(FALSE);
$this
->state()
->commit();
}
}