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:
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