diff --git a/lib/helpers.rb b/lib/helpers.rb index 49f9dd3e20c..f40269bb188 100644 --- a/lib/helpers.rb +++ b/lib/helpers.rb @@ -312,7 +312,7 @@ def notifications_by_date_range_and_user_ids(start_date_time, end_date_time, use #now build a thread to users subscription map subscriptions_map = {} - subscriptions.no_timeout.each do |s| + subscriptions.each do |s| if not subscriptions_map.keys.include? s.source_id.to_s subscriptions_map[s.source_id.to_s] = [] end