Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-csv-import
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-csv-import
Commits
8004715a
Commit
8004715a
authored
Jun 07, 2012
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- CSV-Import:
Added audit hooks after loading projects
parent
1f5ba259
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
import-im_project.tcl
www/import-im_project.tcl
+5
-2
No files found.
www/import-im_project.tcl
View file @
8004715a
...
...
@@ -425,14 +425,12 @@ foreach csv_line_fields $values_list_of_lists {
continue
}
# Add the project lead to the list of project members
if
{
""
!=
$project
_lead_id
}
{
set role_id
[
im_biz_object_role_project_manager
]
im_biz_object_add_role
$project
_lead_id
$project
_id
$role
_id
}
# -------------------------------------------------------
# Make sure there is an entry in im_timesheet_tasks if the project is of type task
if
{
$project
_type_id ==
[
im_project_type_task
]}
{
...
...
@@ -511,6 +509,7 @@ foreach csv_line_fields $values_list_of_lists {
where
task_id = :project_id
"
}
...
...
@@ -575,6 +574,10 @@ foreach csv_line_fields $values_list_of_lists {
}
}
if
{
$ns
_write_p
}
{
ns_write
"<li>Going to write audit log.
\n
"
}
im_audit -object_id
$project
_id
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment