diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2009-11-20 14:10:57 +1100 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2009-11-20 14:10:57 +1100 |
commit | 539d9b355f40b1668b4ad4e8fe628e0a3d9760b8 (patch) | |
tree | aad4d42ad92259b16a279711773052d4a1fa08d7 /actionmailer/lib/action_mailer/vendor/tmail_compat.rb | |
parent | 15d7cac282e29f0a8e7b38dade07abb32d97a991 (diff) | |
download | rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.tar.gz rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.tar.bz2 rails-539d9b355f40b1668b4ad4e8fe628e0a3d9760b8.zip |
More updates... 45 errors left to get it working with Mail gem
Diffstat (limited to 'actionmailer/lib/action_mailer/vendor/tmail_compat.rb')
-rw-r--r-- | actionmailer/lib/action_mailer/vendor/tmail_compat.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/actionmailer/lib/action_mailer/vendor/tmail_compat.rb b/actionmailer/lib/action_mailer/vendor/tmail_compat.rb index 988a2d3378..0e240eb478 100644 --- a/actionmailer/lib/action_mailer/vendor/tmail_compat.rb +++ b/actionmailer/lib/action_mailer/vendor/tmail_compat.rb @@ -2,22 +2,8 @@ # Created in 1.2 of Mail. Will be deprecated STDERR.puts("DEPRECATION WARNING, Mail running in TMail compatibility mode. This will be deprecated soon.") -module Mail - - def Mail.parse(string) - STDERR.puts("DEPRECATION WARNING, Mail.parse(string) is deprecated, please use Mail.new") - ::Mail.new(string) - end - -end - class Mail::Message - def set_content_type(*args) - STDERR.puts("DEPRECATION WARNING, Message#set_content_type is deprecated, please use Message#content_type") - content_type(args) - end - def set_content_disposition(*args) STDERR.puts("DEPRECATION WARNING, Message#set_content_disposition is deprecated, please use Message#content_disposition") content_disposition(args) |