mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-29 08:24:40 +08:00
Merge pull request #2134 from okriuchykhin/ok_SCI_3960
Fix team deletion script [SCI-3960]
This commit is contained in:
commit
f82d02b5d0
1 changed files with 3 additions and 3 deletions
|
@ -52,10 +52,10 @@ class UserDataDeletion
|
|||
end
|
||||
my_module.delete
|
||||
end
|
||||
|
||||
# Destroy workflow image
|
||||
if experiment.workflowimg.exists?
|
||||
experiment.workflowimg.clear(:original)
|
||||
end
|
||||
experiment.workflowimg.purge
|
||||
|
||||
experiment.activities.destroy_all
|
||||
experiment.report_elements.destroy_all
|
||||
experiment.my_module_groups.delete_all
|
||||
|
|
Loading…
Add table
Reference in a new issue