Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record.
This commit is contained in:
@@ -356,6 +356,12 @@
|
||||
//revoke temp permissions
|
||||
$p->delete('fax_add', 'temp');
|
||||
$p->delete('fax_edit', 'temp');
|
||||
|
||||
//clear the destinations session array
|
||||
if (isset($_SESSION['destinations']['array'])) {
|
||||
unset($_SESSION['destinations']['array']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//get the dialplan_uuid
|
||||
|
||||
Reference in New Issue
Block a user