aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/info_request.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index beeeccd61..7f6b358db 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -918,6 +918,9 @@ public
end
outgoing_messages.each { |a| a.destroy }
incoming_messages.each { |a| a.destroy }
+ comments.each { |comment| comment.destroy }
+ censor_rules.each{ |censor_rule| censor_rule.destroy }
+
destroy
end