aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorSergey Nartimov <just.lest@gmail.com>2012-01-22 20:21:39 +0300
committerSergey Nartimov <just.lest@gmail.com>2012-01-22 20:21:39 +0300
commitc0a445617ff431f4ad67b9366bdc5f06b4e39de8 (patch)
tree1944a8fa0014a2d3882f0f64e1467f15ddd30e1d /actionmailer
parentd843a943b343023bcbaa9e34d912d2807927cacd (diff)
downloadrails-c0a445617ff431f4ad67b9366bdc5f06b4e39de8.tar.gz
rails-c0a445617ff431f4ad67b9366bdc5f06b4e39de8.tar.bz2
rails-c0a445617ff431f4ad67b9366bdc5f06b4e39de8.zip
remove obsolete code as old actionmailer api was removed
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/base.rb3
1 files changed, 0 insertions, 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