diff options
Diffstat (limited to 'lib/banzai/reference_parser/commit_range_parser.rb')
-rw-r--r-- | lib/banzai/reference_parser/commit_range_parser.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/banzai/reference_parser/commit_range_parser.rb b/lib/banzai/reference_parser/commit_range_parser.rb index 3d09bc83151..fb4a392105f 100644 --- a/lib/banzai/reference_parser/commit_range_parser.rb +++ b/lib/banzai/reference_parser/commit_range_parser.rb @@ -38,13 +38,6 @@ module Banzai range.valid_commits? ? range : nil end - def nodes_visible_to_user(user, nodes) - projects = lazy { projects_for_nodes(nodes) } - user.preloaded_member_roles_for_projects(projects.values) if user - - super - end - private def can_read_reference?(user, ref_project, node) |