Commit dcde942b authored by Doug Stull's avatar Doug Stull

Merge branch '337432-unused-activerecord-scope-with_user_by_email' into 'master'

Remove unused ActiveRecord Scope  with_user_by_email

See merge request gitlab-org/gitlab!70210
parents 0ffffa04 d0aa20d4
......@@ -147,7 +147,6 @@ class Member < ApplicationRecord
scope :owners, -> { active.where(access_level: OWNER) }
scope :owners_and_maintainers, -> { active.where(access_level: [OWNER, MAINTAINER]) }
scope :with_user, -> (user) { where(user: user) }
scope :with_user_by_email, -> (email) { left_join_users.where(users: { email: email } ) }
scope :preload_user_and_notification_settings, -> { preload(user: :notification_settings) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment