Replace Lock::release() with DI::lock()->release() and remove Core\Lock

This commit is contained in:
nupplaPhil 2020-01-07 00:24:10 +01:00
parent 634e657d23
commit 31457b8566
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
14 changed files with 33 additions and 74 deletions

View file

@ -133,7 +133,7 @@ HELP;
if (count($this->args) >= 2) {
$lock = $this->getArgument(1);
if ($this->lock->releaseLock($lock, true)) {
if ($this->lock->release($lock, true)) {
$this->out(sprintf('Lock \'%s\' released.', $lock));
} else {
$this->out(sprintf('Couldn\'t release Lock \'%s\'', $lock));