From e360932bdf9de288ae424b335227fcfc2a449e2b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 4 Mar 2020 22:28:50 +0100 Subject: [PATCH] fix warning in tests --- api/src/Cache/Memcache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Cache/Memcache.php b/api/src/Cache/Memcache.php index d1f3819b0a..dd24f494d1 100644 --- a/api/src/Cache/Memcache.php +++ b/api/src/Cache/Memcache.php @@ -14,7 +14,7 @@ namespace EGroupware\Api\Cache; // fix warning in tests, if memcache extension not available -if (defined('MEMCACHE_COMPRESSED')) define('MEMCACHE_COMPRESSED', 2); +if (!defined('MEMCACHE_COMPRESSED')) define('MEMCACHE_COMPRESSED', 2); /** * Caching provider storing data in memcached via PHP's memcache extension