summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Pereira <rpereira@gitlab.com>2019-03-08 08:28:18 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-03-08 08:28:18 +0000
commit90311109ea9e08848428cff3e78c54a265f2044d (patch)
tree02b1f54421fd70bfe20b268f9314a8863deccca0
parent207d31002ea980ced4e106a3ab79fa2a6fd21047 (diff)
downloadgitlab-ce-90311109ea9e08848428cff3e78c54a265f2044d.tar.gz
Remove unnecessary license check in operations controller
-rw-r--r--app/controllers/projects/settings/operations_controller.rb5
1 files changed, 0 insertions, 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