diff options
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 97bb2e927..99312986d 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -21,7 +21,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request.rb,v 1.97 2008-04-29 16:23:31 francis Exp $ +# $Id: info_request.rb,v 1.98 2008-04-29 16:42:11 francis Exp $ require 'digest/sha1' require 'vendor/plugins/acts_as_xapian/lib/acts_as_xapian' @@ -450,10 +450,10 @@ public track_thing.track_things_sent_emails.each { |a| a.destroy } track_thing.destroy end - self.incoming_messages.each { |a| a.destroy } - self.outgoing_messages.each { |a| a.destroy } self.user_info_request_sent_alerts.each { |a| a.destroy } self.info_request_events.each { |a| a.destroy } + self.incoming_messages.each { |a| a.destroy } + self.outgoing_messages.each { |a| a.destroy } self.destroy end |