From cbb1391c3745c05af37aabf197697d07da985a28 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 4 Mar 2020 19:15:43 +0100 Subject: [PATCH] Revert "revert using files cache for cli change in order to fix failing install in Travis" This reverts commit 1367463e6ba18d101480891bb3e05f2604e48086. --- api/src/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));