summaryrefslogtreecommitdiff
path: root/app/models/members/project_member.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-12-05 22:02:11 -0800
committerStan Hu <stanhu@gmail.com>2018-12-05 23:19:27 -0800
commite96fd232a628e9f5f008936b5db645412e33cfef (patch)
treef3694019bc8487f6e212ce16d42a6066fab03977 /app/models/members/project_member.rb
parentfa3528ee5a0cedf10a05035ce5c713c3fea0ec6f (diff)
downloadgitlab-ce-e96fd232a628e9f5f008936b5db645412e33cfef.tar.gz
Remove unnecessary includes of ShellAdapter
Determined by running the script: ``` included = `git grep --name-only ShellAdapter`.chomp.split("\n") used = `git grep --name-only gitlab_shell`.chomp.split("\n") included - used ```
Diffstat (limited to 'app/models/members/project_member.rb')
-rw-r--r--app/models/members/project_member.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/members/project_member.rb b/app/models/members/project_member.rb
index 537f2a3a231..016c18ce6c8 100644
--- a/app/models/members/project_member.rb
+++ b/app/models/members/project_member.rb
@@ -3,8 +3,6 @@
class ProjectMember < Member
SOURCE_TYPE = 'Project'.freeze
- include Gitlab::ShellAdapter
-
belongs_to :project, foreign_key: 'source_id'
# Make sure project member points only to project as it source