diff options
author | francis <francis> | 2009-02-03 01:45:08 +0000 |
---|---|---|
committer | francis <francis> | 2009-02-03 01:45:08 +0000 |
commit | 346bb3a102398f3738ae2d4e1cdff4156d0898c0 (patch) | |
tree | 8148ccfe5004d0f2f70f75a215246fd4ba91507d /app/models/info_request.rb | |
parent | ad49968195baeef099d00ce211a5b7d5bf8fff44 (diff) |
Remove associated exim logs
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 0b02ae0b5..ee811d9c0 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -23,7 +23,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.162 2009-01-27 17:12:31 francis Exp $ +# $Id: info_request.rb,v 1.163 2009-02-03 01:45:08 francis Exp $ require 'digest/sha1' require File.join(File.dirname(__FILE__),'../../vendor/plugins/acts_as_xapian/lib/acts_as_xapian') @@ -676,6 +676,9 @@ public info_request_event.track_things_sent_emails.each { |a| a.destroy } info_request_event.destroy end + self.exim_logs.each do |exim_log| + exim_log.destroy + end self.outgoing_messages.each { |a| a.destroy } self.incoming_messages.each { |a| a.destroy } self.destroy |