Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-12-06 09:02:11 +0300
committerStan Hu <stanhu@gmail.com>2018-12-06 10:19:27 +0300
commite96fd232a628e9f5f008936b5db645412e33cfef (patch)
treef3694019bc8487f6e212ce16d42a6066fab03977 /app/models/protected_tag.rb
parentfa3528ee5a0cedf10a05035ce5c713c3fea0ec6f (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.rb1
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 }