Merge pull request #1118 from moteus/clear_cache_number_alias
Fix. clear cache also for number_alias.
This commit is contained in:
@@ -743,6 +743,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
//clear the cache
|
//clear the cache
|
||||||
$cache = new cache;
|
$cache = new cache;
|
||||||
$cache->delete("directory:".$extension."@".$user_context);
|
$cache->delete("directory:".$extension."@".$user_context);
|
||||||
|
if (strlen($number_alias) > 0) {
|
||||||
|
$cache->delete("directory:".$number_alias."@".$user_context);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//show the action and redirect the user
|
//show the action and redirect the user
|
||||||
|
|||||||
Reference in New Issue
Block a user