diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 18:08:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 18:08:16 +0000 |
commit | e9c2bf267862e22c0770cc7b3a1ed97a8b87a7fd (patch) | |
tree | 7b778e44f210132af1233ceb8801b388ac3519f5 /app/finders | |
parent | 946771d0b016ae92b15a60bc3290a33b94191ffe (diff) | |
download | gitlab-ce-e9c2bf267862e22c0770cc7b3a1ed97a8b87a7fd.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/fork_targets_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/fork_targets_finder.rb b/app/finders/fork_targets_finder.rb index 9003c593757..7a08273fa0d 100644 --- a/app/finders/fork_targets_finder.rb +++ b/app/finders/fork_targets_finder.rb @@ -8,7 +8,7 @@ class ForkTargetsFinder # rubocop: disable CodeReuse/ActiveRecord def execute - ::Namespace.where(id: user.manageable_namespaces).where.not(id: project.namespace).sort_by_type + ::Namespace.where(id: user.manageable_namespaces).sort_by_type end # rubocop: enable CodeReuse/ActiveRecord |