From 90311109ea9e08848428cff3e78c54a265f2044d Mon Sep 17 00:00:00 2001 From: Reuben Pereira Date: Fri, 8 Mar 2019 08:28:18 +0000 Subject: [PATCH] Remove unnecessary license check in operations controller --- app/controllers/projects/settings/operations_controller.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/controllers/projects/settings/operations_controller.rb b/app/controllers/projects/settings/operations_controller.rb index 7276964b6e1..1fafc33e917 100644 --- a/app/controllers/projects/settings/operations_controller.rb +++ b/app/controllers/projects/settings/operations_controller.rb @@ -3,7 +3,6 @@ module Projects module Settings class OperationsController < Projects::ApplicationController - before_action :check_license before_action :authorize_update_environment! helper_method :error_tracking_setting @@ -65,10 +64,6 @@ module Projects ] } end - - def check_license - render_404 unless helpers.settings_operations_available? - end end end end