fixing delete
This commit is contained in:
parent
9b07132b80
commit
7ce549c294
|
@ -66,7 +66,7 @@ class CacheLockDriver extends AbstractLockDriver
|
||||||
$cachekey = self::getLockKey($key);
|
$cachekey = self::getLockKey($key);
|
||||||
|
|
||||||
if ($force) {
|
if ($force) {
|
||||||
$this->cache->delete($key);
|
$this->cache->delete($cachekey);
|
||||||
} else {
|
} else {
|
||||||
$this->cache->compareDelete($cachekey, getmypid());
|
$this->cache->compareDelete($cachekey, getmypid());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user