diff options
author | Stan Hu <stanhu@gmail.com> | 2018-12-06 09:02:11 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-12-06 10:19:27 +0300 |
commit | e96fd232a628e9f5f008936b5db645412e33cfef (patch) | |
tree | f3694019bc8487f6e212ce16d42a6066fab03977 /app/models/members | |
parent | fa3528ee5a0cedf10a05035ce5c713c3fea0ec6f (diff) |
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')
-rw-r--r-- | app/models/members/project_member.rb | 2 |
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 |