Skip to content

Commit ee64cb5

Browse files
committed
Remove unused argument from Redmine::Helpers::TimeReport (#33079).
Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 parent a0fa449 commit ee64cb5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/controllers/timelog_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def report
7676
retrieve_time_entry_query
7777
scope = time_entry_scope
7878

79-
@report = Redmine::Helpers::TimeReport.new(@project, @issue, params[:criteria], params[:columns], scope)
79+
@report = Redmine::Helpers::TimeReport.new(@project, params[:criteria], params[:columns], scope)
8080

8181
respond_to do |format|
8282
format.html {render :layout => !request.xhr?}

lib/redmine/helpers/time_report.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ module Helpers
2222
class TimeReport
2323
attr_reader :criteria, :columns, :hours, :total_hours, :periods
2424

25-
def initialize(project, issue, criteria, columns, time_entry_scope)
25+
def initialize(project, criteria, columns, time_entry_scope)
2626
@project = project
27-
@issue = issue
2827

2928
@criteria = criteria || []
3029
@criteria = @criteria.select{|criteria| available_criteria.has_key? criteria}

0 commit comments

Comments
 (0)