diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-05-16 11:25:25 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-05-30 13:50:38 +0100 |
commit | 4cdff2bfd5e129371079253107cf07fc34c5884e (patch) | |
tree | 92b3589493973d957a3df00b2140f24c8ad7abf8 | |
parent | f52ddab5fdabddf98ec9a778b8b7cf4945ac2039 (diff) |
Remove redundant condition (when deciding who gets email alerts)
-rw-r--r-- | app/models/track_mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/track_mailer.rb b/app/models/track_mailer.rb index f4b4a5e7b..92da7c376 100644 --- a/app/models/track_mailer.rb +++ b/app/models/track_mailer.rb @@ -48,7 +48,7 @@ class TrackMailer < ApplicationMailer end for user in users next if !user.should_be_emailed? || !user.receive_email_alerts - + email_about_things = [] track_things = TrackThing.find(:all, :conditions => [ "tracking_user_id = ? and track_medium = ?", user.id, 'email_daily' ]) for track_thing in track_things |