From 2262c4e882a8db96a8702ff9b79d7b34ff0d3575 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 27 Jan 2024 08:18:50 +0100 Subject: [PATCH] Clear additional keys on cache clear --- system/functions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/functions.php b/system/functions.php index df619acf..09678d6b 100644 --- a/system/functions.php +++ b/system/functions.php @@ -1264,6 +1264,12 @@ function clearCache() if ($cache->fetch('plugins_routes', $tmp)) { $cache->delete('plugins_routes'); } + if ($cache->fetch('plugins_themes', $tmp)) { + $cache->delete('plugins_themes'); + } + if ($cache->fetch('plugins_commands', $tmp)) { + $cache->delete('plugins_commands'); + } } deleteDirectory(CACHE . 'signatures', ['index.html'], true);