Clear additional keys on cache clear

This commit is contained in:
slawkens 2024-01-27 08:18:50 +01:00
parent 69b02fa977
commit 2262c4e882

View File

@ -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);