From 74477cc30f352f86b6aabe0e21d6a2a589636574 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 5 Aug 2022 10:00:47 +0200 Subject: [PATCH] Remove Memcached support While Memcached is only deprecated since 5.4, it also is effectively unmaintained and untested since longer than that. The Disk cache works fine for the vast majority of users and Redis is available for the others and even more featureful compared to Memcached. Resolves #3642 --- com.woltlab.wcf/option.xml | 14 +- constants.php | 1 - .../update_com.woltlab.wcf_5.6_checkCache.php | 22 ++ .../lib/acp/page/CacheListPage.class.php | 6 - .../lib/acp/page/SystemCheckPage.class.php | 4 - .../source/MemcachedCacheSource.class.php | 223 ------------------ wcfsetup/install/lang/de.xml | 12 +- wcfsetup/install/lang/en.xml | 13 +- 8 files changed, 37 insertions(+), 258 deletions(-) create mode 100644 wcfsetup/install/files/acp/update_com.woltlab.wcf_5.6_checkCache.php delete mode 100644 wcfsetup/install/files/lib/system/cache/source/MemcachedCacheSource.class.php diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 59c1d82e4d..cf9b740e20 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -94,9 +94,6 @@ general.cache - - general.cache - general.cache @@ -885,17 +882,11 @@ encrypt:wcf.acp.option.mail_smtp_starttls.encrypt general.cache.general radioButton disk - disk:!cache_source_memcached_host,!cache_source_redis_host -memcached:cache_source_memcached_host,!cache_source_redis_host -redis:cache_source_redis_host,!cache_source_memcached_host + disk:!cache_source_redis_host +redis:cache_source_redis_host disk:wcf.acp.option.cache_source_type.disk -memcached:wcf.acp.option.cache_source_type.memcached redis:wcf.acp.option.cache_source_type.redis -