From c0a445617ff431f4ad67b9366bdc5f06b4e39de8 Mon Sep 17 00:00:00 2001 From: Sergey Nartimov Date: Sun, 22 Jan 2012 20:21:39 +0300 Subject: remove obsolete code as old actionmailer api was removed --- actionmailer/lib/action_mailer/base.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 7d8852f961..30f7a6f291 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -602,9 +602,6 @@ module ActionMailer #:nodoc: # end # def mail(headers={}, &block) - # Guard flag to prevent both the old and the new API from firing - # Should be removed when old API is removed - @mail_was_called = true m = @_message # At the beginning, do not consider class default for parts order neither content_type -- cgit v1.2.3