diff --git a/app/models/comment.rb b/app/models/comment.rb index fe134ca2e..cba429284 100644 --- a/app/models/comment.rb +++ b/app/models/comment.rb @@ -24,11 +24,6 @@ class Comment < ApplicationRecord private def cleanup_events - # Delete events that reference through event_summary - if message.event_summary.present? - Event.where(summary: message.event_summary).destroy_all - end - # Delete events that reference directly in particulars Event.where(particulars: { comment_id: id }).destroy_all end