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/protected_tag.rb | |
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/protected_tag.rb')
-rw-r--r-- | app/models/protected_tag.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/protected_tag.rb b/app/models/protected_tag.rb index 94746141945..d28ebabfe49 100644 --- a/app/models/protected_tag.rb +++ b/app/models/protected_tag.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class ProtectedTag < ActiveRecord::Base - include Gitlab::ShellAdapter include ProtectedRef validates :name, uniqueness: { scope: :project_id } |