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:
authorKamil Trzciński <ayufan@ayufan.eu>2019-01-19 15:48:33 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-01-19 15:48:33 +0300
commitd4d4ebadfb373518013382560b1f505eb6217f13 (patch)
tree64cb74631fb61ae7b4f55c14467bee0dac3e8ac6 /app/controllers
parent49efb57914b7daac651e0b3fbeb850584be66ce7 (diff)
parent77eff52afa379d653c47ecc64e75779a330be5e1 (diff)
Merge branch '56213-remove-error_tracking-feature-flag' into 'master'
Resolve "Remove `error_tracking` feature flag" Closes #56213 See merge request gitlab-org/gitlab-ce!24306
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/error_tracking_controller.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/controllers/projects/error_tracking_controller.rb b/app/controllers/projects/error_tracking_controller.rb
index 4596b6c91f2..9e403e1d25b 100644
--- a/app/controllers/projects/error_tracking_controller.rb
+++ b/app/controllers/projects/error_tracking_controller.rb
@@ -1,9 +1,7 @@
# frozen_string_literal: true
class Projects::ErrorTrackingController < Projects::ApplicationController
- before_action :check_feature_flag!
before_action :authorize_read_sentry_issue!
- before_action :push_feature_flag_to_frontend
POLLING_INTERVAL = 10_000
@@ -43,12 +41,4 @@ class Projects::ErrorTrackingController < Projects::ApplicationController
.new(project: project, user: current_user)
.represent(errors)
end
-
- def check_feature_flag!
- render_404 unless Feature.enabled?(:error_tracking, project)
- end
-
- def push_feature_flag_to_frontend
- push_frontend_feature_flag(:error_tracking, current_user)
- end
end