diff options
author | José Valim <jose.valim@gmail.com> | 2009-10-15 18:51:51 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-10-15 18:51:51 -0300 |
commit | 2d7abe245e7a2b1717e48ef550e4083318fd7ec2 (patch) | |
tree | 0de135e1a3c5dadb3f6e1c5457832e6ef81bb834 /actionmailer/lib/action_mailer | |
parent | 5988b87c30eb0ce50c235187f5dfcfcfb98da01b (diff) | |
download | rails-2d7abe245e7a2b1717e48ef550e4083318fd7ec2.tar.gz rails-2d7abe245e7a2b1717e48ef550e4083318fd7ec2.tar.bz2 rails-2d7abe245e7a2b1717e48ef550e4083318fd7ec2.zip |
Renamed Orchestra to Notifications once again [#3321 state:resolved]
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index c0c04af51c..df3bfb3620 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -481,7 +481,7 @@ module ActionMailer #:nodoc: # Initialize the mailer via the given +method_name+. The body will be # rendered and a new TMail::Mail object created. def create!(method_name, *parameters) #:nodoc: - ActiveSupport::Orchestra.instrument(:create_mail, :name => method_name) do + ActiveSupport::Notifications.instrument(:create_mail, :name => method_name) do initialize_defaults(method_name) __send__(method_name, *parameters) @@ -550,7 +550,7 @@ module ActionMailer #:nodoc: logger.debug "\n#{mail.encoded}" end - ActiveSupport::Orchestra.instrument(:deliver_mail, :mail => @mail) do + ActiveSupport::Notifications.instrument(:deliver_mail, :mail => @mail) do begin __send__("perform_delivery_#{delivery_method}", mail) if perform_deliveries rescue Exception => e # Net::SMTP errors or sendmail pipe errors |