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

@ -74,7 +74,7 @@ class DatabaseLock extends Lock
/**
* (@inheritdoc)
*/
public function releaseLock($key, $override = false)
public function release($key, $override = false)
{
if ($override) {
$where = ['name' => $key];