bug in redis delete function

This commit is contained in:
Philipp Holzer 2018-07-07 18:39:33 +02:00
parent 6ecaa5b15a
commit f95c420801
No known key found for this signature in database
GPG key ID: 58160D7D6AF942B6

View file

@ -74,7 +74,8 @@ class RedisCacheDriver extends AbstractCacheDriver implements IMemoryCacheDriver
public function delete($key)
{
return $this->redis->delete($key);
$cachekey = $this->getCacheKey($key);
return ($this->redis->delete($cachekey) > 0);
}
public function clear()