diff options
author | Go MAEDA <maeda@farend.jp> | 2021-08-19 13:13:26 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-08-19 13:13:26 +0000 |
commit | ee64cb5cb1b95ed42ed3ba3b1ea80a9efd428eee (patch) | |
tree | c032f3d27b845239c08379dc7f224052679a90c7 /lib | |
parent | a0fa4491c0aeb47723d20e614ccb75eb0d713596 (diff) | |
download | redmine-ee64cb5cb1b95ed42ed3ba3b1ea80a9efd428eee.tar.gz redmine-ee64cb5cb1b95ed42ed3ba3b1ea80a9efd428eee.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/helpers/time_report.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/redmine/helpers/time_report.rb b/lib/redmine/helpers/time_report.rb index 531026f63..89b94ec3c 100644 --- a/lib/redmine/helpers/time_report.rb +++ b/lib/redmine/helpers/time_report.rb @@ -22,9 +22,8 @@ module Redmine class TimeReport attr_reader :criteria, :columns, :hours, :total_hours, :periods - def initialize(project, issue, criteria, columns, time_entry_scope) + def initialize(project, criteria, columns, time_entry_scope) @project = project - @issue = issue @criteria = criteria || [] @criteria = @criteria.select{|criteria| available_criteria.has_key? criteria} |