Update do_not_disturb.php
This commit is contained in:
@@ -113,7 +113,15 @@ include "root.php";
|
|||||||
|
|
||||||
//revoke temporary permissions
|
//revoke temporary permissions
|
||||||
$p->delete('extension_edit', 'temp');
|
$p->delete('extension_edit', 'temp');
|
||||||
|
|
||||||
|
//delete extension from the cache
|
||||||
|
$cache = new cache;
|
||||||
|
$cache->delete("directory:".$this->extension."@".$this->domain_name);
|
||||||
|
if(strlen($this->number_alias) > 0){
|
||||||
|
$cache->delete("directory:".$this->number_alias."@".$this->domain_name);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user