fixing delete
This commit is contained in:
parent
9b07132b80
commit
7ce549c294
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue