Remove the call to the save_ivr_menu_xml function.

This commit is contained in:
Mark Crane 2012-11-29 22:22:23 +00:00
parent c071b5551d
commit f422074c13
1 changed files with 5 additions and 15 deletions

View File

@ -203,14 +203,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//add the data
if ($action == "add" && permission_exists('ivr_menu_add')) {
//run the add method in the ivr menu class
$ivr->add();
//synchronize the xml config
save_ivr_menu_xml();
//synchronize the xml config
save_dialplan_xml();
//redirect the user
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=ivr_menus.php\">\n";
@ -222,15 +217,10 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
}
//update the data
if ($action == "update" && permission_exists('ivr_menu_edit')) {
//run the update method in the ivr menu class
$ivr->ivr_menu_uuid = $ivr_menu_uuid;
$ivr->update();
//synchronize the xml config
save_ivr_menu_xml();
//synchronize the xml config
save_dialplan_xml();
//redirect the user
require_once "includes/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=ivr_menus.php\">\n";