summaryrefslogtreecommitdiffstats
path: root/app/controllers/timelog_controller.rb
diff options
context:
space:
mode:
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 111925cf7..1a880a133 100644
--- a/app/controllers/timelog_controller.rb
+++ b/app/controllers/timelog_controller.rb
@@ -284,8 +284,6 @@ private
scope = @query.results_scope(options)
if @issue
scope = scope.on_issue(@issue)
- elsif @project
- scope = scope.on_project(@project, Setting.display_subprojects_issues?)
end
scope
end