mirror of
https://github.com/itflow-org/itflow
synced 2026-07-24 17:30:43 +00:00
Replace Function logAction() with logAudit()
This commit is contained in:
@@ -108,7 +108,7 @@ function enforceClientAccess($client_id = null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
logAction(
|
||||
logAudit(
|
||||
'Client',
|
||||
'Access',
|
||||
"$session_name was denied permission from accessing client",
|
||||
|
||||
@@ -37,7 +37,7 @@ function appNotify($type, $details, $action = null, $client_id = 0, $entity_id =
|
||||
}
|
||||
}
|
||||
|
||||
function logAction($type, $action, $description, $client_id = 0, $entity_id = 0) {
|
||||
function logAudit($type, $action, $description, $client_id = 0, $entity_id = 0) {
|
||||
global $mysqli, $session_user_agent, $session_ip, $session_user_id;
|
||||
|
||||
$client_id = intval($client_id);
|
||||
|
||||
Reference in New Issue
Block a user