summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 04:15:16 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 04:15:16 +0000
commit69fb5a6a8031fa284a515ba427d847a53f77b9e3 (patch)
treea6ab6b4e150319e5bd39bdc955a03dfe4476949f /app/models
parente8b06af277d70a6b40333067e92b177fc91e5f28 (diff)
downloadredmine-69fb5a6a8031fa284a515ba427d847a53f77b9e3.tar.gz
redmine-69fb5a6a8031fa284a515ba427d847a53f77b9e3.zip
fix MailHandler#assign_string_attribute_with_limit is not private
git-svn-id: http://svn.redmine.org/redmine/trunk@18697 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/mail_handler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb
index 60898ff6f..3e7b02b90 100644
--- a/app/models/mail_handler.rb
+++ b/app/models/mail_handler.rb
@@ -540,6 +540,7 @@ class MailHandler < ActionMailer::Base
value = value.to_s.slice(0, limit)
object.send("#{attribute}=", value)
end
+ private_class_method :assign_string_attribute_with_limit
# Returns a User from an email address and a full name
def self.new_user_from_attributes(email_address, fullname=nil)