We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d17924c commit b4db2e1Copy full SHA for b4db2e1
1 file changed
lib/Service/ExAppService.php
@@ -67,8 +67,8 @@ public function __construct(
67
$distributedCacheClass = ltrim($config->getSystemValueString('memcache.distributed', ''), '\\');
68
$localCacheClass = ltrim($config->getSystemValueString('memcache.local', ''), '\\');
69
if (
70
- ($distributedCacheClass === '' && ($localCacheClass !== \OC\Memcache\APCu::class)) &&
71
- ($distributedCacheClass !== \OC\Memcache\APCu::class)
+ ($distributedCacheClass === '' && $localCacheClass !== \OC\Memcache\APCu::class) ||
+ ($distributedCacheClass !== '' && $distributedCacheClass !== \OC\Memcache\APCu::class)
72
) {
73
$this->cache = $cacheFactory->createDistributed(Application::APP_ID . '/service');
74
}
0 commit comments