diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-03 13:55:26 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-06-03 13:55:26 +0200 |
commit | 69d1e7aaf4ddb85fefa17cb7bd3c57274cc428f4 (patch) | |
tree | 0dfe647bdc4308ab35fe5afa997ee423ee772202 /lib | |
parent | 3a233b86983a5dadc225d734df97895f04be9f16 (diff) | |
parent | bdc82dcfb900050f66d7e632c2808363b57e8a96 (diff) | |
download | nextcloud-server-69d1e7aaf4ddb85fefa17cb7bd3c57274cc428f4.tar.gz nextcloud-server-69d1e7aaf4ddb85fefa17cb7bd3c57274cc428f4.zip |
Merge pull request #16687 from owncloud/issue-16113-redis-minimum-version
Check for redis to be 2.2.5+
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/memcache/redis.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/memcache/redis.php b/lib/private/memcache/redis.php index 78d061404ef..cfc35dcc377 100644 --- a/lib/private/memcache/redis.php +++ b/lib/private/memcache/redis.php @@ -151,7 +151,8 @@ class Redis extends Cache implements IMemcache { } static public function isAvailable() { - return extension_loaded('redis'); + return extension_loaded('redis') + && version_compare(phpversion('redis'), '2.2.5', '>='); } } |