]> source.dussan.org Git - redmine.git/commitdiff
fix MailHandler#assign_string_attribute_with_limit is not private
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Oct 2019 04:15:16 +0000 (04:15 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Oct 2019 04:15:16 +0000 (04:15 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18697 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mail_handler.rb

index 60898ff6f5d6b1c73bfc0ecf74ac66002af324ac..3e7b02b90e033500b6694ceb459cca409c2ca045 100644 (file)
@@ -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)