Read about our upcoming Code of Conduct on this issue

Commit 690d19db authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Remove duplicate methods


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 179021cad06f
......@@ -102,10 +102,6 @@ def lfs_enabled?
self[:lfs_enabled]
end
def request_access(user)
Members::RequestAccessService.new(self, user).execute
end
def add_users(user_ids, access_level, current_user: nil, expires_at: nil)
user_ids.each do |user_id|
Member.add_user(
......
......@@ -1012,10 +1012,6 @@ def reset_events_cache
update_all(updated_at: Time.now)
end
def request_access(user)
Members::RequestAccessService.new(self, user).execute
end
def project_member(user)
project_members.find_by(user_id: user)
end
......
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