Destinations: Update class delete method.

This commit is contained in:
Nate
2019-11-30 11:34:54 -07:00
parent bfb17507f1
commit 585183f12b

View File

@@ -564,6 +564,9 @@ if (!class_exists('destinations')) {
$p->delete('dialplan_delete', 'temp');
$p->delete('dialplan_detail_delete', 'temp');
//synchronize the xml config
save_dialplan_xml();
//clear the cache
if (is_array($destination_contexts) && @sizeof($destination_contexts) != 0) {
$destination_contexts = array_unique($destination_contexts);