Update gateway_edit.php

This commit is contained in:
FusionPBX
2018-07-24 16:41:02 -05:00
committed by GitHub
parent a5f658f75b
commit f4b3c10597

View File

@@ -247,9 +247,7 @@
//clear the cache
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
$hostname = trim(event_socket_request($fp, 'api switchname')); }
}
$hostname = trim(event_socket_request($fp, 'api switchname'));
$cache = new cache;
$cache->delete("configuration:sofia.conf:".$hostname);