GitLab ist wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht erreichbar.

Commit b0ab096b authored by tmaruyama's avatar tmaruyama

remove trailing white-spaces from app/models/mail_handler.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@11127 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 72ddf61f
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment