summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-04-25 08:27:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-04-25 08:27:24 +0000
commit8ff0214d451f6c89e94a15ae7db5c3f4e4197d12 (patch)
tree8a90ea95c5993650f65544d55fca824f60c501f7
parent16516fb48a18242035bea959ac79a436c04b19eb (diff)
downloadredmine-8ff0214d451f6c89e94a15ae7db5c3f4e4197d12.tar.gz
redmine-8ff0214d451f6c89e94a15ae7db5c3f4e4197d12.zip
Merged r14219 (#19537).
git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14220 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/mail_handler.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb
index 88a2e6dbc..d4e57c79d 100644
--- a/app/models/mail_handler.rb
+++ b/app/models/mail_handler.rb
@@ -444,10 +444,6 @@ class MailHandler < ActionMailer::Base
subject.strip[0,255]
end
- def self.full_sanitizer
- @full_sanitizer ||= HTML::FullSanitizer.new
- end
-
def self.assign_string_attribute_with_limit(object, attribute, value, limit=nil)
limit ||= object.class.columns_hash[attribute.to_s].limit || 255
value = value.to_s.slice(0, limit)