Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: APCu cache condition
Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
SystemKeeper authored and backportbot[bot] committed Nov 17, 2025
commit 79b1fb28f556cd40826e6e704dcf90ba190a5c7c
4 changes: 2 additions & 2 deletions lib/Service/ExAppService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down