X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FLock%2FILockDriver.php;h=7cbaa4fc6908a701721c1886705a3a85c2ff3fae;hb=fb371e10486f535ffcb52569a55e185b5a78c015;hp=a255f683454753e414e2c20677f106661dccf486;hpb=6cf50a14fae25210a0cdb617c29d549abcfde9ac;p=friendica.git diff --git a/src/Core/Lock/ILockDriver.php b/src/Core/Lock/ILockDriver.php index a255f68345..7cbaa4fc69 100644 --- a/src/Core/Lock/ILockDriver.php +++ b/src/Core/Lock/ILockDriver.php @@ -33,11 +33,12 @@ interface ILockDriver /** * Releases a lock if it was set by us * - * @param string $key The Name of the lock + * @param string $key The Name of the lock + * @param bool $override Overrides the lock to get released * * @return void */ - public function releaseLock($key); + public function releaseLock($key, $override = false); /** * Releases all lock that were set by us