mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
This commit is contained in:
@@ -54,7 +54,7 @@ else {
|
||||
}
|
||||
|
||||
//redirect the browser
|
||||
$_SESSION["message"] = $text['message-delete'];
|
||||
messages::add($text['message-delete']);
|
||||
header("Location: databases.php");
|
||||
return;
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
require_once "app_defaults.php";
|
||||
|
||||
//redirect the browser
|
||||
$_SESSION["message"] = $text['message-add'];
|
||||
messages::add($text['message-add']);
|
||||
header("Location: databases.php");
|
||||
return;
|
||||
} //if ($action == "add")
|
||||
@@ -167,7 +167,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
require_once "app_defaults.php";
|
||||
|
||||
//redirect the browser
|
||||
$_SESSION["message"] = $text['message-update'];
|
||||
messages::add($text['message-update']);
|
||||
header("Location: databases.php");
|
||||
return;
|
||||
} //if ($action == "update")
|
||||
|
||||
Reference in New Issue
Block a user