diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-11-15 16:56:06 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-11-15 16:56:06 +0000 |
commit | f5ced2133cd1a66e18b225208fa96f4f36a20889 (patch) | |
tree | 1401766c96e72041600f5470196c7481e746c4b0 /app/models/user.rb | |
parent | 1e8083fe07483d7111530886a6c09cb3325aa53f (diff) |
Move address_from_name_and_email to mail handler.
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 70386f7e4..6e1e21481 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -203,7 +203,7 @@ class User < ActiveRecord::Base # For use in to/from in email messages def name_and_email - return TMail::Address.address_from_name_and_email(self.name, self.email).to_s + return MailHandler.address_from_name_and_email(self.name, self.email) end # The "internal admin" is a special user for internal use. |