Enhance - Convert more messages (#2646)

convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
This commit is contained in:
Mafoo
2017-06-08 16:39:04 +01:00
committed by FusionPBX
parent 76ab1cca6a
commit b7f4cba09c
42 changed files with 59 additions and 69 deletions

View File

@@ -196,10 +196,10 @@
//set the message
if ($action == "add") {
$_SESSION['message'] = $text['message-add'];
messages::add($text['message-add']);
}
else if ($action == "update") {
$_SESSION['message'] = $text['message-update'];
messages::add($text['message-update']);
}
header("Location: ?id=".$dialplan_uuid.(($app_uuid != '') ? "&app_uuid=".$app_uuid : null));
exit;