diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-10 03:36:09 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-10 03:36:09 +0000 |
commit | bcfd04a2210c88997332c069493fb008e5d39d90 (patch) | |
tree | d8cd629d0620db96e7dee28f59ac95b1ad9561db /app/finders | |
parent | 9d7ff90d9a7bd9dbe9184c9588510f247877274f (diff) | |
download | gitlab-ce-bcfd04a2210c88997332c069493fb008e5d39d90.tar.gz |
Revert "Merge branch 'sh-optimize-projects-api' into 'master'"revert-2cc01f12
This reverts merge request !26481
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/projects_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/projects_finder.rb b/app/finders/projects_finder.rb index 0319e95d439..93d3c991846 100644 --- a/app/finders/projects_finder.rb +++ b/app/finders/projects_finder.rb @@ -81,7 +81,7 @@ class ProjectsFinder < UnionFinder if private_only? current_user.authorized_projects else - Project.public_or_visible_to_user(current_user, params[:visibility_level]) + Project.public_or_visible_to_user(current_user) end end end |