summaryrefslogtreecommitdiffstats
path: root/15.0/apache/config/redis.config.php
diff options
context:
space:
mode:
authorTilo Spannagel <development@tilosp.de>2020-02-06 15:20:27 +0100
committerGitHub <noreply@github.com>2020-02-06 15:20:27 +0100
commit26487c056c26d9277c41762941804f0fc2f6d0a5 (patch)
treeb0792cb82fdf7b1335af5227079a7ec2ff46796a /15.0/apache/config/redis.config.php
parent4bd951c62245544794c833ae5d8a4e0db0adca60 (diff)
parent4053ea4fb07db2416348234d41f19b63083a5341 (diff)
Merge pull request #988 from nextcloud/eol-15
Remove end of life version 15.0
Diffstat (limited to '15.0/apache/config/redis.config.php')
-rw-r--r--15.0/apache/config/redis.config.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/15.0/apache/config/redis.config.php b/15.0/apache/config/redis.config.php
deleted file mode 100644
index 9429c901..00000000
--- a/15.0/apache/config/redis.config.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-if (getenv('REDIS_HOST')) {
- $CONFIG = array (
- 'memcache.distributed' => '\OC\Memcache\Redis',
- 'memcache.locking' => '\OC\Memcache\Redis',
- 'redis' => array(
- 'host' => getenv('REDIS_HOST'),
- 'password' => getenv('REDIS_HOST_PASSWORD'),
- ),
- );
-
- if (getenv('REDIS_HOST_PORT') !== false) {
- $CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
- } elseif (getenv('REDIS_HOST')[0] != '/') {
- $CONFIG['redis']['port'] = 6379;
- }
-}