diff options
-rw-r--r-- | app/models/group.rb | 4 | ||||
-rw-r--r-- | app/models/project.rb | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 194fa1ffa69..aefb94b2ada 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -102,10 +102,6 @@ class Group < Namespace 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( diff --git a/app/models/project.rb b/app/models/project.rb index 35e1d1a25a8..7265cb55594 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1012,10 +1012,6 @@ class Project < ActiveRecord::Base 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 |