We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f72850 commit 6957869Copy full SHA for 6957869
PredisCachePool.php
@@ -63,7 +63,9 @@ protected function clearAllObjectsFromCache()
63
protected function clearOneObjectFromCache($key)
64
{
65
$keyString = $this->getHierarchyKey($key, $path);
66
- $this->cache->incr($path);
+ if ($path) {
67
+ $this->cache->incr($path);
68
+ }
69
$this->clearHierarchyKeyCache();
70
71
return $this->cache->del($keyString) >= 0;
0 commit comments