Change messages class to message

This commit is contained in:
markjcrane
2018-08-31 03:09:01 +00:00
parent 196a1787a4
commit 9717543a46
205 changed files with 323 additions and 323 deletions
+2 -2
View File
@@ -602,7 +602,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//redirect the browser
if ($action == "update") {
messages::add($text['message-update']);
message::add($text['message-update']);
if (!permission_exists('domain_add')) { //admin, updating own domain
header("Location: domain_edit.php");
}
@@ -611,7 +611,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
}
}
if ($action == "add") {
messages::add($text['message-add']);
message::add($text['message-add']);
header("Location: domains.php");
}
return;