From 39c6a792d7a8e5b66876fd19233ee112ca0e3179 Mon Sep 17 00:00:00 2001 From: hjust Date: Thu, 25 Mar 2010 15:33:04 +0000 Subject: [PATCH] Delete redundant hook. git-svn-id: https://dev.finn.de/svn/cockpit/trunk@674 7926756e-e54e-46e6-9721-ed318f58905e --- lib/costs_issue_hook.rb | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/costs_issue_hook.rb b/lib/costs_issue_hook.rb index a713676a87..9a1edc7be6 100644 --- a/lib/costs_issue_hook.rb +++ b/lib/costs_issue_hook.rb @@ -37,25 +37,6 @@ class CostsIssueHook < Redmine::Hook::ViewListener context[:issue].cost_object_id = cost_object_id end end - - - # Renders a select tag with all the Cost Objects for the bulk edit page - # - # Context: - # * :project => Current project - # - def view_issues_bulk_edit_details_bottom(context = { }) - if context[:project].module_enabled?('cost_module') - select = select_tag('cost_object_id', - content_tag('option', l(:label_no_change_option), :value => '') + - content_tag('option', l(:label_none), :value => 'none') + - options_from_collection_for_select(CostObject.find_all_by_project_id(context[:project].id, :order => 'subject ASC'), :id, :subject)) - - return content_tag(:p, "") - else - return '' - end - end # Saves the Cost Object assignment to the issue #