mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update the cache key
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user