diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-29 13:28:30 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-29 13:28:30 +0000 |
commit | ff7eb7b23a6aa86f4bc1a2d73ee0a3a4f1487ba7 (patch) | |
tree | ab6b2c2a4c24576a32bf193dad9cd934e4150a35 /lib/tasks/migrate_from_trac.rake | |
parent | b7b4e27833b08b07131d724aa4b1a411f2a13aa0 (diff) | |
download | redmine-ff7eb7b23a6aa86f4bc1a2d73ee0a3a4f1487ba7.tar.gz redmine-ff7eb7b23a6aa86f4bc1a2d73ee0a3a4f1487ba7.zip |
Auto-detect attachment content type when blank (#3782).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3258 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/migrate_from_trac.rake')
-rw-r--r-- | lib/tasks/migrate_from_trac.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/migrate_from_trac.rake b/lib/tasks/migrate_from_trac.rake index e267a340f..8c6838ae2 100644 --- a/lib/tasks/migrate_from_trac.rake +++ b/lib/tasks/migrate_from_trac.rake @@ -128,7 +128,7 @@ namespace :redmine do end def content_type - Redmine::MimeType.of(filename) || '' + '' end def exist? |