diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-01-06 09:32:42 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-01-06 09:32:42 +0000 |
commit | 4bc2805c4adf27025268b3464447056fa0f01850 (patch) | |
tree | 1a4d9fb63f32c29b48c3e25efcc697fde0dbbf68 | |
parent | 582dcf4b365e5889a216fcc41dc647046ba9e188 (diff) | |
download | redmine-4bc2805c4adf27025268b3464447056fa0f01850.tar.gz redmine-4bc2805c4adf27025268b3464447056fa0f01850.zip |
remove trailing white-spaces from app/models/mail_handler.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11127 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/mail_handler.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 3b72ef284..bc0c6addb 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -107,7 +107,7 @@ class MailHandler < ActionMailer::Base else # Default behaviour, emails from unknown users are ignored if logger && logger.info - logger.info "MailHandler: ignoring email from unknown user [#{sender_email}]" + logger.info "MailHandler: ignoring email from unknown user [#{sender_email}]" end return false end @@ -485,7 +485,7 @@ class MailHandler < ActionMailer::Base } if assignee.nil? && keyword.match(/ /) firstname, lastname = *(keyword.split) # "First Last Throwaway" - assignee ||= assignable.detect {|a| + assignee ||= assignable.detect {|a| a.is_a?(User) && a.firstname.to_s.downcase == firstname && a.lastname.to_s.downcase == lastname } |