Notification system improvement

Also only registry can now approve and reject applications
This commit is contained in:
Pinga 2025-03-14 17:27:39 +02:00
parent edc2bdab04
commit f942607363
5 changed files with 105 additions and 19 deletions

View file

@ -1537,7 +1537,7 @@ function processDomainUpdate($conn, $db, $xml, $clid, $database_type, $trans) {
]);
$stmt = $db->prepare("INSERT INTO error_log
(channel, level, level_name, message, context, extra, created_at)
VALUES ('epp', 3, 'warning', ?, ?, '{}', CURRENT_TIMESTAMP)");
VALUES ('epp', 300, 'WARNING', ?, ?, '{}', CURRENT_TIMESTAMP)");
$stmt->execute([$logMessage, $contextData]);
}
} else {