Browse Source

Fix dialplan_mode caching (#5428)

agree 5 years ago
parent
commit
41a8c25c51
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/default_settings/default_setting_edit.php

+ 5 - 0
core/default_settings/default_setting_edit.php

@@ -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;