diff options
author | Andrey Andreev <narf@devilix.net> | 2019-11-01 11:24:03 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2019-11-01 11:25:39 +0100 |
commit | beebaccc0a06c22b4af06ec913e501c7e116c60e (patch) | |
tree | efd4f50fd9c6dae515a942e420e80e51d7dcbc2b /system/libraries | |
parent | 9507ad02801fedfa511407a5017bb161dd880382 (diff) |
[ci skip] Merge pull request #5861 from nebkat/patch-1
cache: redis: Check version of redis not phpredis
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_redis.php | 2 |
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'; |