Replace Lock::release() with DI::lock()->release() and remove Core\Lock
This commit is contained in:
parent
634e657d23
commit
31457b8566
14 changed files with 33 additions and 74 deletions
|
@ -61,7 +61,7 @@ abstract class Lock implements ILock
|
|||
$return = true;
|
||||
|
||||
foreach ($this->acquiredLocks as $acquiredLock => $hasLock) {
|
||||
if (!$this->releaseLock($acquiredLock, $override)) {
|
||||
if (!$this->release($acquiredLock, $override)) {
|
||||
$return = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue