From 89e3a144f6a5ad05ddaca8ca2ee290321327ccbe Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 5 Feb 2019 10:46:03 -0700 Subject: [PATCH] Update gateway_edit.php --- app/gateways/gateway_edit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/gateways/gateway_edit.php b/app/gateways/gateway_edit.php index 397cac79fb..bff10ecb20 100644 --- a/app/gateways/gateway_edit.php +++ b/app/gateways/gateway_edit.php @@ -241,16 +241,16 @@ unlink($gateway_xml_file); } } - + //syncrhonize configuration save_gateway_xml(); - + //clear the cache $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); $hostname = trim(event_socket_request($fp, 'api switchname')); $cache = new cache; $cache->delete("configuration:sofia.conf:".$hostname); - + //rescan the external profile to look for new or stopped gateways //create the event socket connection $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); @@ -264,7 +264,7 @@ $_SESSION["reload_xml"] = false; } //if ($_POST["persistformvar"] != "true") - + //redirect the user if (isset($action)) { if ($action == "add") {