mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Cache key add hostname prefix
This commit is contained in:
@@ -145,10 +145,8 @@
|
||||
save_gateway_xml();
|
||||
|
||||
//clear the cache
|
||||
$esl = event_socket::create();
|
||||
$hostname = trim(event_socket::api('switchname'));
|
||||
$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