X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FLock.php;h=9892f1f4e4d7e74e2dcab9212da8a09f4943401f;hb=a2cea16954ab9634b10a3d6358a3c5ebad591538;hp=7235c64a982aa3a9e2ec1e6f35f013652655a9ea;hpb=aac94d1d7445f2287f89a3559f4b3988e39edbdb;p=friendica.git diff --git a/src/Core/Lock.php b/src/Core/Lock.php index 7235c64a98..9892f1f4e4 100644 --- a/src/Core/Lock.php +++ b/src/Core/Lock.php @@ -1,7 +1,5 @@ acquireLock($key, $timeout); } @@ -136,11 +122,11 @@ class Lock * @brief Releases a lock if it was set by us * * @param string $key Name of the lock - * @return mixed + * @return void */ - public static function releaseLock($key) + public static function release($key) { - return self::getDriver()->releaseLock($key); + self::getDriver()->releaseLock($key); } /**