Changeset 1638


Ignore:
Timestamp:
Mar 16, 2011, 6:03:06 PM (7 years ago)
Author:
work@…
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Study.groovy

    r1624 r1638  
    269269         */
    270270        void deleteEvent(Event event) {
    271                 // remove event from the study
    272                 this.removeFromEvents(event)
    273 
    274271                // remove event from eventGroups
    275272                this.eventGroups.each() { eventGroup ->
    276273                        eventGroup.removeFromEvents(event)
    277274                }
     275
     276                // remove event from the study
     277                this.removeFromEvents(event)
     278
     279                // and perform a hard delete
     280                event.delete()
    278281        }
    279282
Note: See TracChangeset for help on using the changeset viewer.