X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FLock.php;h=9c449844597c56620bb90106ce67bd19fe4772c8;hb=7099a54b3d209bd5eb04613010ac3484563f0c45;hp=9d96962964cf55ea8be5aadf952cf7e0be419444;hpb=2ad162f991fdd32122b029398b9ab9e8801c0462;p=friendica.git diff --git a/src/Util/Lock.php b/src/Util/Lock.php index 9d96962964..9c44984459 100644 --- a/src/Util/Lock.php +++ b/src/Util/Lock.php @@ -1,11 +1,12 @@ =')) { if (empty(self::$semaphore[$fn_name])) { return false; @@ -186,8 +193,10 @@ class Lock { /** * @brief Removes all lock that were set by us + * @return void */ - public static function removeAll() { + public static function removeAll() + { $memcache = self::connectMemcache(); if (is_object($memcache)) { // We cannot delete all cache entries, but this doesn't matter with memcache