|
|
@ -22,6 +22,7 @@ def delete_organisations(org_names) |
|
|
|
org.destroy! |
|
|
|
org.destroy! |
|
|
|
p "#{i} of #{org_names.count}: #{org_name} and associated objects deleted" |
|
|
|
p "#{i} of #{org_names.count}: #{org_name} and associated objects deleted" |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
#remember to delete logs that have been assigned to no orgs so they can reimport successfully |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
delete_organisations(org_names) |
|
|
|
delete_organisations(org_names) |
|
|
|