Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record.

This commit is contained in:
fusionate
2020-11-30 14:15:57 -07:00
parent f6334ad9d0
commit c67c8cd4c2
30 changed files with 215 additions and 9 deletions

View File

@@ -683,6 +683,11 @@ if (!class_exists('extension')) {
$this->xml();
}
//clear the destinations session array
if (isset($_SESSION['destinations']['array'])) {
unset($_SESSION['destinations']['array']);
}
//set message
message::add($text['message-delete']);
@@ -787,6 +792,11 @@ if (!class_exists('extension')) {
}
unset($extensions);
//clear the destinations session array
if (isset($_SESSION['destinations']['array'])) {
unset($_SESSION['destinations']['array']);
}
//set message
message::add($text['message-toggle']);