@@ -372,8 +372,6 class MailHandler < ActionMailer::Base | |||||
372 | end |
|
372 | end | |
373 | end |
|
373 | end | |
374 |
|
374 | |||
375 | private |
|
|||
376 |
|
||||
377 | # Removes the email body of text after the truncation configurations. |
|
375 | # Removes the email body of text after the truncation configurations. | |
378 | def cleanup_body(body) |
|
376 | def cleanup_body(body) | |
379 | delimiters = Setting.mail_handler_body_delimiters.to_s.split(/[\r\n]+/).reject(&:blank?).map {|s| Regexp.escape(s)} |
|
377 | delimiters = Setting.mail_handler_body_delimiters.to_s.split(/[\r\n]+/).reject(&:blank?).map {|s| Regexp.escape(s)} |
General Comments 0
You need to be logged in to leave comments.
Login now