Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-helpdesk
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-helpdesk
Commits
87f0476d
Commit
87f0476d
authored
Jan 27, 2011
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed Versia #2: Now closing forum topic
parent
6d4c8388
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
intranet-helpdesk-procs.tcl
tcl/intranet-helpdesk-procs.tcl
+10
-1
No files found.
tcl/intranet-helpdesk-procs.tcl
View file @
87f0476d
...
...
@@ -697,6 +697,14 @@ namespace eval im_ticket {
}
{
Set the ticket forum to
"deleted"
}
{
# Mark the topic as closed
db_dml mark_as_closed
"
update im_forum_topics
set topic_status_id =
[
im_topic_status_id_closed
]
where parent_id is null and
object_id = :ticket_id
"
# Close associated forum by moving to
"deleted"
folder
db_dml move_to_deleted
"
update im_forum_topic_user_map
...
...
@@ -704,7 +712,8 @@ namespace eval im_ticket {
where topic_id in (
select t.topic_id
from im_forum_topics t
where t.object_id = :ticket_id
where t.parent_id is null and
t.object_id = :ticket_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