mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-04 19:05:37 +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
|
end
|
||||||
my_module.delete
|
my_module.delete
|
||||||
end
|
end
|
||||||
|
|
||||||
# Destroy workflow image
|
# Destroy workflow image
|
||||||
if experiment.workflowimg.exists?
|
experiment.workflowimg.purge
|
||||||
experiment.workflowimg.clear(:original)
|
|
||||||
end
|
|
||||||
experiment.activities.destroy_all
|
experiment.activities.destroy_all
|
||||||
experiment.report_elements.destroy_all
|
experiment.report_elements.destroy_all
|
||||||
experiment.my_module_groups.delete_all
|
experiment.my_module_groups.delete_all
|
||||||
|
|
Loading…
Add table
Reference in a new issue