summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-10-12 22:42:55 +0000
committerGo MAEDA <maeda@farend.jp>2023-10-12 22:42:55 +0000
commitcb617673b3e072e9d64c198b45e8a020cc754c70 (patch)
tree87fc5ed47e28ed0d0d5c0aa2ff2ec277b1a3e45b /app
parent9552922d46af3d470d21667433d0d8f9bd529d67 (diff)
downloadredmine-cb617673b3e072e9d64c198b45e8a020cc754c70.tar.gz
redmine-cb617673b3e072e9d64c198b45e8a020cc754c70.zip
Cleanup debug code in app/models/mail_handler.rb (#39184).
Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22339 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/mail_handler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb
index 67cb016d1..6d53530a8 100644
--- a/app/models/mail_handler.rb
+++ b/app/models/mail_handler.rb
@@ -615,7 +615,7 @@ class MailHandler < ActionMailer::Base
unless user.valid?
user.login = "user#{Redmine::Utils.random_hex(6)}" unless user.errors[:login].blank?
user.firstname = "-" unless user.errors[:firstname].blank?
- (puts user.errors[:lastname]; user.lastname = "-") unless user.errors[:lastname].blank?
+ user.lastname = "-" unless user.errors[:lastname].blank?
end
user
end