From 79b1fb28f556cd40826e6e704dcf90ba190a5c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Fri, 14 Nov 2025 16:30:07 +0100 Subject: [PATCH] fix: APCu cache condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- lib/Service/ExAppService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Service/ExAppService.php b/lib/Service/ExAppService.php index ef9272f0..693ff263 100644 --- a/lib/Service/ExAppService.php +++ b/lib/Service/ExAppService.php @@ -60,8 +60,8 @@ public function __construct( $distributedCacheClass = ltrim($config->getSystemValueString('memcache.distributed', ''), '\\'); $localCacheClass = ltrim($config->getSystemValueString('memcache.local', ''), '\\'); if ( - ($distributedCacheClass === '' && ($localCacheClass !== \OC\Memcache\APCu::class)) && - ($distributedCacheClass !== \OC\Memcache\APCu::class) + ($distributedCacheClass === '' && $localCacheClass !== \OC\Memcache\APCu::class) || + ($distributedCacheClass !== '' && $distributedCacheClass !== \OC\Memcache\APCu::class) ) { $this->cache = $cacheFactory->createDistributed(Application::APP_ID . '/service'); }