Commit 22603685 authored by Frank Bergmann's avatar Frank Bergmann

- Audit:

  - Moved main audit_impl into intranet-core
  - Replaced im_project_audit by im_audit
parent 82c3be1d
......@@ -550,7 +550,7 @@ ad_proc -public im_gp_save_xml {
set user_id [auth::require_login]
# Write audit trail
im_project_audit -project_id $project_id -action before_update
im_audit -object_id $project_id -action before_update
db_1row project_info "
select project_id as org_project_id,
......@@ -1611,7 +1611,7 @@ ad_proc -public im_gp_save_tasks2 {
# Write audit trail
if {$task_created_p} { set task_action "after_create" } else { set task_action "after_update" }
im_project_audit -object_type "im_timesheet_task" -project_id $task_id -status_id $task_status_id -type_id $task_type_id -action $task_action
im_audit -object_id $task_id -action $task_action
return [array get task_hash]
}
......
......@@ -46,7 +46,7 @@ set missing_resources_title [lang::message::lookup "" intranet-ganttproject.Miss
set missing_resources_msg [lang::message::lookup "" intranet-ganttproject.Missing_Resources_msg "The following MS-Project resources could not be found in \]po\[. Please correct the resource names in your MS-Project plan or click on the links below in order to create new resources."]
# Write audit trail
im_project_audit -project_id $project_id -action before_update
im_audit -object_id $project_id -action before_update
db_1row project_info "
select project_id as org_project_id,
......@@ -244,7 +244,7 @@ template::list::create \
}
# Write audit trail
im_project_audit -project_id $project_id
im_audit -object_id $project_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment