add the clear_cache to the flush cache button
This commit is contained in:
parent
0bbd2568ee
commit
64fbf2e4bf
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in New Issue