use RuntimeException;
/**
- * @brief tool to access the locks from the CLI
+ * tool to access the locks from the CLI
*
* With this script you can access the locks of your node from the CLI.
* You can read current locks and set/remove locks.
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));