We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7188be2 commit 03cc7a1Copy full SHA for 03cc7a1
lib/Service/ExAppService.php
@@ -61,8 +61,8 @@ public function __construct(
61
$distributedCacheClass = ltrim($config->getSystemValueString('memcache.distributed', ''), '\\');
62
$localCacheClass = ltrim($config->getSystemValueString('memcache.local', ''), '\\');
63
if (
64
- ($distributedCacheClass === '' && ($localCacheClass !== \OC\Memcache\APCu::class)) &&
65
- ($distributedCacheClass !== \OC\Memcache\APCu::class)
+ ($distributedCacheClass === '' && $localCacheClass !== \OC\Memcache\APCu::class) ||
+ ($distributedCacheClass !== '' && $distributedCacheClass !== \OC\Memcache\APCu::class)
66
) {
67
$this->cache = $cacheFactory->createDistributed(Application::APP_ID . '/service');
68
}
0 commit comments