summaryrefslogtreecommitdiff
path: root/app/models/protected_branch.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/protected_branch.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/protected_branch.rb')
-rw-r--r--app/models/protected_branch.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb
index 6c1073265a1..d075440b147 100644
--- a/app/models/protected_branch.rb
+++ b/app/models/protected_branch.rb
@@ -1,7 +1,6 @@
# frozen_string_literal: true
class ProtectedBranch < ActiveRecord::Base
- include Gitlab::ShellAdapter
include ProtectedRef
protected_ref_access_levels :merge, :push