diff options
-rw-r--r-- | app/models/incoming_message.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index c85505b63..a3f3e6d07 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -19,7 +19,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: incoming_message.rb,v 1.172 2008-12-04 18:10:05 francis Exp $ +# $Id: incoming_message.rb,v 1.173 2008-12-04 19:01:47 francis Exp $ # TODO # Move some of the (e.g. quoting) functions here into rblib, as they feel @@ -89,11 +89,6 @@ def filename_and_content_to_mimetype(filename, content) if $1 mahoro_type = $1 end - # special cases - if mahoro_type == "\\012- application/msword" - # e.g. for http://www.whatdotheyknow.com/request/gifted_and_talented_programme#incoming-9365 - return 'application/vnd.ms-excel' - end # see if looks like a content type, or has something in it that does # and return that # mahoro returns junk "\012- application/msword" as mime type. |