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
+3 -3
View File
@@ -78,7 +78,7 @@
}
unset($prep_statement, $row);
if ($total_destinations >= $_SESSION['limit']['destinations']['numeric']) {
messages::add($text['message-maximum_destinations'].' '.$_SESSION['limit']['destinations']['numeric'], 'negative');
message::add($text['message-maximum_destinations'].' '.$_SESSION['limit']['destinations']['numeric'], 'negative');
header('Location: destinations.php');
return;
}
@@ -656,10 +656,10 @@
//redirect the user
if ($action == "add") {
messages::add($text['message-add']);
message::add($text['message-add']);
}
if ($action == "update") {
messages::add($text['message-update']);
message::add($text['message-update']);
}
header("Location: destination_edit.php?id=".escape($destination_uuid)."&type=".$destination_type);
return;