mirror of
https://github.com/itflow-org/itflow
synced 2026-07-24 09:20:40 +00:00
Replace Function logAction() with logAudit()
This commit is contained in:
@@ -49,8 +49,8 @@ if (!empty($name) && !empty($domain) && !empty($client_id)) {
|
||||
$insert_id = mysqli_insert_id($mysqli);
|
||||
|
||||
// Logging
|
||||
logAction("Certificate", "Create", "$name via API ($api_key_name)", $client_id, $insert_id);
|
||||
logAction("API", "Success", "Created certificate $name via API ($api_key_name)", $client_id, $insert_id);
|
||||
logAudit("Certificate", "Create", "$name via API ($api_key_name)", $client_id, $insert_id);
|
||||
logAudit("API", "Success", "Created certificate $name via API ($api_key_name)", $client_id, $insert_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user