diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-20 12:04:11 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-20 12:04:11 +0000 |
commit | fb75372b86c59b858c7ad60040325ab117495775 (patch) | |
tree | f9c295f2e62173b2bf2cad876e6c46415ba30d55 /app/helpers/attachments_helper.rb | |
parent | 5c85898227df78dd8786256a67eff4b6c0a5fab3 (diff) | |
download | redmine-fb75372b86c59b858c7ad60040325ab117495775.tar.gz redmine-fb75372b86c59b858c7ad60040325ab117495775.zip |
scm: attachment: remove "to_utf8" methods from helpers (#2371)
It is confusing that same name methods are in several helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7871 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/attachments_helper.rb')
-rw-r--r-- | app/helpers/attachments_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb index 3d98b95d3..bc07cff54 100644 --- a/app/helpers/attachments_helper.rb +++ b/app/helpers/attachments_helper.rb @@ -28,10 +28,6 @@ module AttachmentsHelper end end - def to_utf8(str) - Redmine::CodesetUtil.to_utf8_by_setting(str) - end - def render_api_attachment(attachment, api) api.attachment do api.id attachment.id |