Fix dialplan_mode caching (#5428)

This commit is contained in:
agree 2020-08-28 12:34:56 -04:00 committed by GitHub
parent 7a38482459
commit 289e73543b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -170,6 +170,11 @@
$cache = new cache;
$cache->delete("dialplan:".$domain_name);
}
elseif ($default_setting_category == "destinations" && $default_setting_subcategory == "dialplan_mode" ) {
//clear the cache
$cache = new cache;
$cache->delete("dialplan:mode");
}
//build the array of data
$x = 0;