diff --git a/api/src/Cache.php b/api/src/Cache.php index 07ad673db6..c859e0f6a5 100644 --- a/api/src/Cache.php +++ b/api/src/Cache.php @@ -769,7 +769,7 @@ class Cache if (is_null(Cache::$default_provider)) { Cache::$default_provider = -// PHP_SAPI === 'cli' ? 'EGroupware\Api\Cache\Files' : + PHP_SAPI === 'cli' ? 'EGroupware\Api\Cache\Files' : (function_exists('apcu_fetch') && Cache\Apcu::available() ? 'EGroupware\Api\Cache\Apcu' : (function_exists('apc_fetch') && Cache\Apc::available() ? 'EGroupware\Api\Cache\Apc' : 'EGroupware\Api\Cache\Files'));