* cache hooks and template menus

This commit is contained in:
slawkens
2019-05-25 00:18:30 +02:00
parent 1cbe452f9c
commit 933b25194c
5 changed files with 54 additions and 16 deletions

View File

@@ -42,6 +42,11 @@ if (isset($_REQUEST['template'])) {
}
}
$cache = Cache::getInstance();
if ($cache->enabled()) {
$cache->delete('template_menus');
}
success('Saved at ' . date('H:i'));
}