mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +00:00
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
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue