aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-06-22 13:09:20 +0100
committerRobin Houston <robin@lenny.robin>2011-06-22 13:09:20 +0100
commit4ac1e9a0a0e56a53ca1e735069b554d73424984b (patch)
tree040b1e092298d77d1e49b8270768a6ae17c3a21b /app/models
parent2b702618b958143df675302b80a0c480be7dd8ed (diff)
Calling a class method from an instance method needs to be done explicitly
Diffstat (limited to 'app/models')
-rw-r--r--app/models/incoming_message.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 9e0bfdbe7..119eb0b4b 100644
--- a/app/models/incoming_message.rb
+++ b/app/models/incoming_message.rb
@@ -828,7 +828,7 @@ class IncomingMessage < ActiveRecord::Base
# e.g. http://www.whatdotheyknow.com/request/35/response/177
# XXX This is a bit of a hack as it is calling a convert to text routine.
# Could instead call a sanitize HTML one.
- text = _get_attachment_text_internal_one_file(part.content_type, text)
+ text = self.class._get_attachment_text_internal_one_file(part.content_type, text)
end
end