destroying.rb revision bd63e05633307b60a7216b523b2b7a2bcc7b2823
included do
end
# Only use `destroy_asynchronously` if you want to destroy a repository.
# It prepares the deletion by setting a flag, which enables the deletion
# of its ontologies.
rescue StandardError => e
self.is_destroying = false
save!
end
end
self.is_destroying = true
save!
end
end
end