diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-01-19 12:48:33 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-01-19 12:48:33 +0000 |
commit | d4d4ebadfb373518013382560b1f505eb6217f13 (patch) | |
tree | 64cb74631fb61ae7b4f55c14467bee0dac3e8ac6 /app/controllers | |
parent | 49efb57914b7daac651e0b3fbeb850584be66ce7 (diff) | |
parent | 77eff52afa379d653c47ecc64e75779a330be5e1 (diff) | |
download | gitlab-ce-d4d4ebadfb373518013382560b1f505eb6217f13.tar.gz |
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.rb | 10 |
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 |