summaryrefslogtreecommitdiff
path: root/app/finders/group_descendants_finder.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2019-07-26 14:57:12 +0000
committerLin Jen-Shin <godfat@godfat.org>2019-07-26 14:57:12 +0000
commitbd1a5a9f422df267725bd5fbd254f3c1f16fd596 (patch)
treec32866892bab7a9aeb2def1d76dafd4a17bcb521 /app/finders/group_descendants_finder.rb
parent900ef6fc316c7d4024545b5d08598c61fa9f3936 (diff)
parent1ce5bcacdbf56682e05fa63875203bf4d10584bc (diff)
downloadgitlab-ce-bd1a5a9f422df267725bd5fbd254f3c1f16fd596.tar.gz
Merge branch 'remove-nested-groups-checks' into 'master'
Remove code related to object hierarchy and MySQL Closes #65056 and #65055 See merge request gitlab-org/gitlab-ce!31095
Diffstat (limited to 'app/finders/group_descendants_finder.rb')
-rw-r--r--app/finders/group_descendants_finder.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/finders/group_descendants_finder.rb b/app/finders/group_descendants_finder.rb
index ec340f38450..4e489a9c930 100644
--- a/app/finders/group_descendants_finder.rb
+++ b/app/finders/group_descendants_finder.rb
@@ -132,8 +132,6 @@ class GroupDescendantsFinder
end
def subgroups
- return Group.none unless Group.supports_nested_objects?
-
# When filtering subgroups, we want to find all matches within the tree of
# descendants to show to the user
groups = if params[:filter]