add the clear_cache to the flush cache button

This commit is contained in:
Tim Fry 2025-03-15 02:31:28 -03:00
parent 0bbd2568ee
commit 64fbf2e4bf
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@
case "cache-flush":
$cache = new cache;
$response = $cache->flush();
//trigger clear cache for any classes that require it
foreach ($autoload->get_interface_list('clear_cache') as $class) {
$class::clear_cache();
}
message::add($response, 'alert');
break;
case "reloadxml":