Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/object_hierarchy.rb')
-rw-r--r--lib/gitlab/object_hierarchy.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/object_hierarchy.rb b/lib/gitlab/object_hierarchy.rb
index 0576aed811c..12d4d9d8928 100644
--- a/lib/gitlab/object_hierarchy.rb
+++ b/lib/gitlab/object_hierarchy.rb
@@ -138,9 +138,9 @@ module Gitlab
.with
.recursive(ancestors.to_arel, descendants.to_arel)
.from_union([
- ancestors_scope,
- descendants_scope
- ])
+ ancestors_scope,
+ descendants_scope
+ ])
read_only(relation)
end