Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/GMOD/Apollo
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Jun 28, 2018
2 parents 38eff4c + dd1c073 commit 6189ff9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ class AvailableStatusController {
return
}

def filters = AvailableStatusOrganismFilter.findAllByAvailableStatus(availableStatusInstance)
AvailableStatusOrganismFilter.deleteAll(filters)
availableStatusInstance.featureTypes.each {
availableStatusInstance.removeFromFeatureTypes(it)
}

availableStatusInstance.delete flush:true

request.withFormat {
Expand Down

0 comments on commit 6189ff9

Please sign in to comment.