From 489a48f67adcbd1b031de86f12e05c0f3dc89917 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 17 Feb 2017 09:39:14 -0700 Subject: [PATCH] Update dialplan_detail_delete.php --- app/dialplan/dialplan_detail_delete.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/dialplan/dialplan_detail_delete.php b/app/dialplan/dialplan_detail_delete.php index f9f017ee0a..cb11984fc6 100644 --- a/app/dialplan/dialplan_detail_delete.php +++ b/app/dialplan/dialplan_detail_delete.php @@ -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