Skip to content

Commit 7c532de

Browse files
authored
Merge pull request #8 from boesing/enhancement/redis-v5-upwards-compatibility
Added support for redis 5.0.0
2 parents e6f5801 + 0cefbd5 commit 7c532de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Smoke/Cache/Storage/Adapter/RedisArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ protected function internalRemoveItem(& $normalizedKey)
290290
{
291291
$redis = $this->getRedisResource();
292292
try {
293-
return (bool) $redis->delete($this->namespacePrefix . $normalizedKey);
293+
return (bool) $redis->del($this->namespacePrefix . $normalizedKey);
294294
} catch (RedisResourceException $e) {
295295
throw new Exception\RuntimeException($redis->getLastError(), $e->getCode(), $e);
296296
}

0 commit comments

Comments
 (0)