diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-03 12:15:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-03 12:15:56 +0300 |
commit | 42d930072f05883b7b1b0cc060c175912ea942dc (patch) | |
tree | ac01c86680503b3378dd3a05208927f41d40a6c0 /app/models/members | |
parent | 139f9c7dc18372bc4cdfaab5f887eae5e3547fa5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/members')
-rw-r--r-- | app/models/members/project_member.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/members/project_member.rb b/app/models/members/project_member.rb index 5040879e177..8ea12a043d4 100644 --- a/app/models/members/project_member.rb +++ b/app/models/members/project_member.rb @@ -19,11 +19,6 @@ class ProjectMember < Member .where(projects: { namespace_id: groups.select(:id) }) end - scope :without_project_bots, -> do - left_join_users - .merge(User.without_project_bot) - end - class << self # Add users to projects with passed access option # |