Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
c0a64415
Commit
c0a64415
authored
Aug 23, 2023
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled cleanup of dirty im_costs when deleting a user because of performance issues
parent
18cf0357
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
intranet-user-procs.tcl
tcl/intranet-user-procs.tcl
+4
-1
No files found.
tcl/intranet-user-procs.tcl
View file @
c0a64415
...
...
@@ -1503,7 +1503,10 @@ ad_proc -public im_user_nuke {
# Deleting cost entries in acs_objects that are
"dangeling"
, i.e. that don't have an
# entry in im_costs. These might have been created during manual deletion of objects
# Very dirty...
db_dml dangeling_costs
"delete from acs_objects where object_type = 'im_cost' and object_id not in (select cost_id from im_costs)"
# 2023-08-23: This takes too long at cosine.
# ToDo: Rewrite to be optimized
# db_dml dangeling_costs
"delete from acs_objects where object_type = 'im_cost' and object_id not in (select cost_id from im_costs)"
# Costs
if
{[
im_table_exists im_invoices
]}
{
...
...
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