Permalink
Browse files

remove obsolete code as old actionmailer api was removed

  • Loading branch information...
1 parent d843a94 commit c0a445617ff431f4ad67b9366bdc5f06b4e39de8 @lest lest committed Jan 22, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −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 c0a4456

Please sign in to comment.