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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-20 03:09:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-20 03:09:06 +0300
commit7a84f32e221939059ad4e34c7fecf3633f9ee448 (patch)
tree49392b3e7f57a3e73c1adf28a4085b35328d09bc /app/helpers/suggest_pipeline_helper.rb
parentdf40cd1c38116a25089930be960d511b0be732ad (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/suggest_pipeline_helper.rb')
-rw-r--r--app/helpers/suggest_pipeline_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/suggest_pipeline_helper.rb b/app/helpers/suggest_pipeline_helper.rb
index 3151b792344..f0a12f0e268 100644
--- a/app/helpers/suggest_pipeline_helper.rb
+++ b/app/helpers/suggest_pipeline_helper.rb
@@ -2,8 +2,6 @@
module SuggestPipelineHelper
def should_suggest_gitlab_ci_yml?
- Feature.enabled?(:suggest_pipeline, default_enabled: true) &&
- current_user &&
- params[:suggest_gitlab_ci_yml] == 'true'
+ current_user && params[:suggest_gitlab_ci_yml] == 'true'
end
end