summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/drivers/Cache_redis.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2019-11-01 11:24:03 +0100
committerAndrey Andreev <narf@devilix.net>2019-11-01 11:25:39 +0100
commitbeebaccc0a06c22b4af06ec913e501c7e116c60e (patch)
treeefd4f50fd9c6dae515a942e420e80e51d7dcbc2b /system/libraries/Cache/drivers/Cache_redis.php
parent9507ad02801fedfa511407a5017bb161dd880382 (diff)
[ci skip] Merge pull request #5861 from nebkat/patch-1
cache: redis: Check version of redis not phpredis
Diffstat (limited to 'system/libraries/Cache/drivers/Cache_redis.php')
-rw-r--r--system/libraries/Cache/drivers/Cache_redis.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_redis.php b/system/libraries/Cache/drivers/Cache_redis.php
index 0539e2cdf..f0a72ee3c 100644
--- a/system/libraries/Cache/drivers/Cache_redis.php
+++ b/system/libraries/Cache/drivers/Cache_redis.php
@@ -113,7 +113,7 @@ class CI_Cache_redis extends CI_Driver
if ( ! isset(static::$_delete_name, static::$_sRemove_name))
{
- if (version_compare(phpversion('phpredis'), '5', '>='))
+ if (version_compare(phpversion('redis'), '5', '>='))
{
static::$_delete_name = 'del';
static::$_sRemove_name = 'sRem';