Update the cache key

This commit is contained in:
FusionPBX
2025-10-16 08:15:16 -06:00
committed by GitHub
parent 1a221e0310
commit 608480b8af
5 changed files with 10 additions and 18 deletions

View File

@@ -460,10 +460,8 @@
save_gateway_xml();
//clear the cache
$esl = event_socket::create();
$hostname = trim(event_socket::api('hostname'));
$cache = new cache;
$cache->delete("configuration:sofia.conf:".$hostname);
$cache->delete(gethostname().":configuration:sofia.conf");
//create the event socket connection
$esl = event_socket::create();
@@ -583,10 +581,8 @@
save_gateway_xml();
//clear the cache
$esl = event_socket::create();
$hostname = trim(event_socket::api('hostname'));
$cache = new cache;
$cache->delete("configuration:sofia.conf:".$hostname);
$cache->delete(gethostname().":configuration:sofia.conf");
//set message
message::add($text['message-copy']);