summaryrefslogtreecommitdiff
path: root/lib/gitlab/template
diff options
context:
space:
mode:
authorVictor Zagorodny <vzagorodny@gitlab.com>2019-03-07 09:31:37 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-03-07 09:31:37 +0000
commiteb37c34906d24b20fe733a5efcb5a44499c200ee (patch)
treef999629c1d789710ce716ae929dc676477c0c9b9 /lib/gitlab/template
parent7d8ad86e4d210531bf291b954af291ef567d28b0 (diff)
downloadgitlab-ce-eb37c34906d24b20fe733a5efcb5a44499c200ee.tar.gz
Add Dependency Scanning vendored template for EE
Diffstat (limited to 'lib/gitlab/template')
-rw-r--r--lib/gitlab/template/gitlab_ci_yml_template.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/gitlab/template/gitlab_ci_yml_template.rb b/lib/gitlab/template/gitlab_ci_yml_template.rb
index fbefb5f7f0e..3e2bb11c35f 100644
--- a/lib/gitlab/template/gitlab_ci_yml_template.rb
+++ b/lib/gitlab/template/gitlab_ci_yml_template.rb
@@ -28,11 +28,6 @@ module Gitlab
def finder(project = nil)
Gitlab::Template::Finders::GlobalTemplateFinder.new(self.base_dir, self.extension, self.categories)
end
-
- def dropdown_names(context)
- categories = context == 'autodeploy' ? ['Auto deploy'] : %w(General Pages)
- super().slice(*categories)
- end
end
end
end