]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Lock/ILockDriver.php
Merge remote-tracking branch 'upstream/2019.03-RC' into worker2
[friendica.git] / src / Core / Lock / ILockDriver.php
index a255f683454753e414e2c20677f106661dccf486..7cbaa4fc6908a701721c1886705a3a85c2ff3fae 100644 (file)
@@ -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