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