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
1 changed files with 2 additions and 1 deletions

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()