mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 09:49:22 +02:00
Clear additional keys on cache clear
This commit is contained in:
parent
69b02fa977
commit
2262c4e882
@ -1264,6 +1264,12 @@ function clearCache()
|
|||||||
if ($cache->fetch('plugins_routes', $tmp)) {
|
if ($cache->fetch('plugins_routes', $tmp)) {
|
||||||
$cache->delete('plugins_routes');
|
$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);
|
deleteDirectory(CACHE . 'signatures', ['index.html'], true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user