summaryrefslogtreecommitdiffstats
path: root/app/controllers/timelog_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-04 23:01:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-04 23:01:42 +0000
commit10509933486ab651c4a185efc37a6340d503f47b (patch)
treebb7cebf898c6527605ea48d68f1d7fc8e36e27b7 /app/controllers/timelog_controller.rb
parent9e5ed4208b8dc531f77708e84f6d11eba3f1ca4a (diff)
downloadredmine-10509933486ab651c4a185efc37a6340d503f47b.tar.gz
redmine-10509933486ab651c4a185efc37a6340d503f47b.zip
Removed unnecessary calculations in time entries index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8085 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r--app/controllers/timelog_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb
index 719e0b864..d50c3d0de 100644
--- a/app/controllers/timelog_controller.rb
+++ b/app/controllers/timelog_controller.rb
@@ -320,8 +320,6 @@ private
end
@from, @to = @to, @from if @from && @to && @from > @to
- @from ||= (TimeEntry.earilest_date_for_project(@project) || Date.today)
- @to ||= (TimeEntry.latest_date_for_project(@project) || Date.today)
end
def parse_params_for_bulk_time_entry_attributes(params)