From f8fcb433dd3be38613c942eb95fcd5fc7b0c5865 Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Wed, 16 Apr 2014 13:24:52 +0200 Subject: [PATCH] Remove deleted API v1 hook --- lib/open_project/backlogs/hooks.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/open_project/backlogs/hooks.rb b/lib/open_project/backlogs/hooks.rb index 6552fd1300..17e00f61a3 100644 --- a/lib/open_project/backlogs/hooks.rb +++ b/lib/open_project/backlogs/hooks.rb @@ -226,16 +226,5 @@ module OpenProject::Backlogs::Hooks end end end - - # Renders story_points in v1 api#index - # - # Context: - # * :api => Current api instance - # * :issue => issue to render - # - def api_issue_index_attributes(context={}) - return unless context[:api] && context[:issue] - context[:api].story_points context[:issue].story_points - end end end