diff options
author | francis <francis> | 2008-05-18 21:57:42 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-18 21:57:42 +0000 |
commit | 0b164b49a9563c17b249391212d0836f8588865c (patch) | |
tree | 74823f2c7ec5b2f9ead21151619e3acfe70476fb /app/models/track_mailer.rb | |
parent | c048302b287baf8ea8dc0c6bf080af61fb054f1c (diff) |
Remove cron messages, as all seems OK enough I think.
Diffstat (limited to 'app/models/track_mailer.rb')
-rw-r--r-- | app/models/track_mailer.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/models/track_mailer.rb b/app/models/track_mailer.rb index b0dc0f27e..f581abc3a 100644 --- a/app/models/track_mailer.rb +++ b/app/models/track_mailer.rb @@ -4,7 +4,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: track_mailer.rb,v 1.10 2008-05-16 12:29:38 francis Exp $ +# $Id: track_mailer.rb,v 1.11 2008-05-18 21:57:42 francis Exp $ class TrackMailer < ApplicationMailer def event_digest(user, email_about_things) @@ -64,13 +64,13 @@ class TrackMailer < ApplicationMailer # If we have anything to send, then send everything for the user in one mail if email_about_things.size > 0 # Debugging - STDERR.puts "sending email alert for user " + user.url_name - for track_thing, alert_results, xapian_object in email_about_things - STDERR.puts " tracking " + track_thing.track_query - for result in alert_results.reverse - STDERR.puts " result " + result[:model].class.to_s + " id " + result[:model].id.to_s - end - end + #STDERR.puts "sending email alert for user " + user.url_name + #for track_thing, alert_results, xapian_object in email_about_things + # STDERR.puts " tracking " + track_thing.track_query + # for result in alert_results.reverse + # STDERR.puts " result " + result[:model].class.to_s + " id " + result[:model].id.to_s + # end + #end # Send the email TrackMailer.deliver_event_digest(user, email_about_things) |