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":