Merge branch '2877_Mejora_audit_log_2' into 'develop'
Fixed audit log See merge request artica/pandorafms!2072 Former-commit-id: eb4fc2639777cbd43a4749d427923c0d5e53e021
This commit is contained in:
commit
28a03f588d
|
@ -175,7 +175,7 @@ if ($id_profile || $new_profile) {
|
|||
$vconsole_management = (bool) $profile["vconsole_management"];
|
||||
|
||||
$id_audit = db_pandora_audit("User management",
|
||||
"Edit profile ". io_safe_output($name));
|
||||
"Edit profile ". $name);
|
||||
enterprise_include_once('include/functions_audit.php');
|
||||
|
||||
$info = 'Name: ' . $name .
|
||||
|
|
|
@ -74,7 +74,7 @@ if ($delete_profile) {
|
|||
}
|
||||
else {
|
||||
db_pandora_audit("Profile management",
|
||||
"Delete profile ". io_safe_output($profile['name']));
|
||||
"Delete profile ". $profile['name']);
|
||||
ui_print_success_message(__('Successfully deleted'));
|
||||
}
|
||||
|
||||
|
@ -187,7 +187,7 @@ if ($update_profile) {
|
|||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Update profile ".io_safe_output($name), false, false, $info);
|
||||
"Update profile ". $name, false, false, $info);
|
||||
|
||||
ui_print_success_message(__('Successfully updated'));
|
||||
}
|
||||
|
@ -234,7 +234,7 @@ if ($create_profile) {
|
|||
"'.get_product_name().' Management":"'.$pandora_management.'"}';
|
||||
|
||||
db_pandora_audit("User management",
|
||||
"Created profile ". io_safe_output($name), false, false, $info);
|
||||
"Created profile ". $name, false, false, $info);
|
||||
}
|
||||
else {
|
||||
ui_print_error_message(__('There was a problem creating this profile'));
|
||||
|
|
Loading…
Reference in New Issue