diff --git a/app/conference_centers/conference_center_edit.php b/app/conference_centers/conference_center_edit.php index 352878f959..c915bd2bd3 100644 --- a/app/conference_centers/conference_center_edit.php +++ b/app/conference_centers/conference_center_edit.php @@ -257,16 +257,20 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { $sql .= "and dialplan_uuid = '$dialplan_uuid' "; $db->query($sql); - //clear the cache - $cache = new cache; - $cache->delete("memcache delete dialplan:".$_SESSION["context"]."@".$_SESSION['domain_name']); - - //save the xml + //syncrhonize configuration save_dialplan_xml(); - $_SESSION["message"] = $text['message-update']; - header("Location: conference_centers.php"); - return; + //apply settings reminder + $_SESSION["reload_xml"] = true; + + //clear the cache + $cache = new cache; + $cache->delete("dialplan:".$_SESSION["context"]); + + //redirect the browser + $_SESSION["message"] = $text['message-update']; + header("Location: conference_centers.php"); + return; } //if ($action == "update") } //if ($_POST["persistformvar"] != "true") } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) diff --git a/app/conference_centers/conference_rooms.php b/app/conference_centers/conference_rooms.php index 1efa3d84fc..68c88b591b 100644 --- a/app/conference_centers/conference_rooms.php +++ b/app/conference_centers/conference_rooms.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2014 the Initial Developer. All Rights Reserved. Contributor(s):