aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-12-05 17:00:18 +0000
committerLouise Crow <louise.crow@gmail.com>2012-12-05 17:00:18 +0000
commit3a55a3eb5601bbb3ae83d32bc92ffdd9a27961c4 (patch)
tree4ae85b70b9ca4f9ab39cffabcc3f9df7a6b8394f /lib
parent7f79f32bd1021fde6a4c026072febcfabc6d0c72 (diff)
Remove redundant references to MailHandler
Diffstat (limited to 'lib')
-rw-r--r--lib/mail_handler/backends/tmail_backend.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mail_handler/backends/tmail_backend.rb b/lib/mail_handler/backends/tmail_backend.rb
index f28eaad79..3ce82a50c 100644
--- a/lib/mail_handler/backends/tmail_backend.rb
+++ b/lib/mail_handler/backends/tmail_backend.rb
@@ -137,7 +137,7 @@ module MailHandler
ensure_parts_counted(mail)
attachment_attributes = []
for leaf in leaves
- body = MailHandler.get_part_body(leaf)
+ body = get_part_body(leaf)
# As leaf.body causes MIME decoding which uses lots of RAM, do garbage collection here
# to prevent excess memory use. XXX not really sure if this helps reduce
# peak RAM use overall. Anyway, maybe there is something better to do than this.
@@ -173,8 +173,8 @@ module MailHandler
end
end
attachment_attributes << {:url_part_number => leaf.url_part_number,
- :content_type => MailHandler.get_content_type(leaf),
- :filename => MailHandler.get_part_file_name(leaf),
+ :content_type => get_content_type(leaf),
+ :filename => get_part_file_name(leaf),
:charset => leaf.charset,
:within_rfc822_subject => within_rfc822_subject,
:body => body,