プロジェクト

全般

プロフィール

Vote #79918

完了

Remove unused method ApplicationHelper#generate_csv

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
127
issue_org_id:
31046
author_id:
332
assigned_to_id:
332
comments:
2
status_id:
5
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

ApplicationHelper#generate_csv was added in r14302, but the method has never been used and seems to be doing nothing useful.


Index: app/helpers/application_helper.rb
===================================================================
--- app/helpers/application_helper.rb   (リビジョン 17987)
+++ app/helpers/application_helper.rb   (作業コピー)
@@ -1567,11 +1567,6 @@
     end
   end
 
-  def generate_csv(&block)
-    decimal_separator = l(:general_csv_decimal_separator)
-    encoding = l(:general_csv_encoding)
-  end
-
   def export_csv_encoding_select_tag
     return if l(:general_csv_encoding).casecmp('UTF-8') == 0
     options = [l(:general_csv_encoding), 'UTF-8']

journals

--------------------------------------------------------------------------------
Committed.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン4.1.0_127 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0