]> git.mxchange.org Git - friendica.git/commitdiff
fixing delete
authorPhilipp Holzer <admin@philipp.info>
Sun, 24 Feb 2019 09:27:56 +0000 (10:27 +0100)
committerPhilipp Holzer <admin@philipp.info>
Sun, 24 Feb 2019 09:27:56 +0000 (10:27 +0100)
src/Core/Lock/CacheLockDriver.php

index d1ef1acffa00c55bb9bf6b1aa6b9bb2e540301dc..a5c34bbdde5f6683d7debdfdd115a09407273498 100644 (file)
@@ -66,7 +66,7 @@ class CacheLockDriver extends AbstractLockDriver
                $cachekey = self::getLockKey($key);
 
                if ($force) {
-                       $this->cache->delete($key);
+                       $this->cache->delete($cachekey);
                } else {
                        $this->cache->compareDelete($cachekey, getmypid());
                }