From b329da52aae9d0e21120a6444d3caf442420ce50 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 17 Jun 2025 17:52:23 +0200 Subject: [PATCH] Use apcu_clear_cache --- system/functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/functions.php b/system/functions.php index 6e58ca9d..56cf378b 100644 --- a/system/functions.php +++ b/system/functions.php @@ -1263,6 +1263,10 @@ function clearCache() global $db; $db->setClearCacheAfter(true); + + if (function_exists('apcu_clear_cache')) { + apcu_clear_cache(); + } } deleteDirectory(CACHE . 'signatures', ['index.html'], true);