Merge pull request #5557 from greenbea/patch-16

Fix cache delete for global dialplans
This commit is contained in:
FusionPBX
2020-11-05 16:02:30 -07:00
committed by GitHub
2 changed files with 10 additions and 5 deletions
+3
View File
@@ -267,6 +267,9 @@
//clear the cache
$cache = new cache;
if ($dialplan_context == "\${domain_name}" or $dialplan_context == "global") {
$dialplan_context = "*";
}
$cache->delete("dialplan:".$dialplan_context);
//set the message