Skip to content

Commit

Permalink
Fix 'Event created user were auto added to memberslist' bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlinha3k35pbc committed Jun 22, 2015
1 parent 1af5323 commit 47b231c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/workers/announce_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class AnnounceWorker
def perform schedule_id
schedule = Schedule.find schedule_id
receivers = schedule.members
receivers << schedule.user

receivers.each do |receiver|
UserMailer.upcoming_event_announcement(receiver, schedule).deliver_now
Expand Down

0 comments on commit 47b231c

Please sign in to comment.