From 566c2a9151ab6392286f74e26853faa19a1b4f24 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sun, 22 Jun 2025 08:48:24 +0200 Subject: [PATCH] Move out of $cache->enabled --- system/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/functions.php b/system/functions.php index 56cf378b..add481e5 100644 --- a/system/functions.php +++ b/system/functions.php @@ -1263,10 +1263,10 @@ function clearCache() global $db; $db->setClearCacheAfter(true); + } - if (function_exists('apcu_clear_cache')) { - apcu_clear_cache(); - } + if (function_exists('apcu_clear_cache')) { + apcu_clear_cache(); } deleteDirectory(CACHE . 'signatures', ['index.html'], true);