Update dialplan_detail_delete.php

This commit is contained in:
FusionPBX 2017-02-17 09:39:14 -07:00 committed by GitHub
parent 8b3fcd06a7
commit 379c10b14c
1 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,13 @@
$switch_cmd = "memcache delete dialplan:".$_SESSION["context"];
$switch_result = event_socket_request($fp, 'api '.$switch_cmd);
}
//update the dialplan xml
$dialplans = new dialplan;
$dialplans->source = "details";
$dialplans->destination = "database";
$dialplans->uuid = $dialplan_uuid;
$dialplans->xml();
}
//save the message to a session variable