app/queries/decidim/admin/newsletter_recipients.rb in decidim-admin-0.23.1 vs app/queries/decidim/admin/newsletter_recipients.rb in decidim-admin-0.23.2

- old
+ new

@@ -84,16 +84,9 @@ participant_ids |= klass.newsletter_participant_ids(component) end end end - if defined?(Decidim::Comments) - Decidim::Comments.newsletter_participant_entities.each do |object| - klass = Object.const_get(object) - participant_ids |= klass.newsletter_participant_ids(spaces.first) - end - end - participant_ids.flatten.compact.uniq end end end end