From 64fbf2e4bf2b55d8e8fc0f1af26465d14ad5e06e Mon Sep 17 00:00:00 2001 From: Tim Fry Date: Sat, 15 Mar 2025 02:31:28 -0300 Subject: [PATCH] add the clear_cache to the flush cache button --- app/sip_status/cmd.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/sip_status/cmd.php b/app/sip_status/cmd.php index 071c9bd55b..601ad49e73 100644 --- a/app/sip_status/cmd.php +++ b/app/sip_status/cmd.php @@ -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":