Permalink
Browse files

Merge pull request #4605 from lest/patch-1

remove obsolete code as old actionmailer api was removed
  • Loading branch information...
2 parents 1f9d6a0 + c0a4456 commit 4e6050b9614d178c28cce45f1c33ad9d1666e330 @josevalim josevalim committed Jan 22, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 actionmailer/lib/action_mailer/base.rb
View
3 actionmailer/lib/action_mailer/base.rb
@@ -602,9 +602,6 @@ def attachments
# 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

0 comments on commit 4e6050b

Please sign in to comment.