GitLab steht Mittwoch, den 08. Juli, zwischen 09:00 und 13:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

Commit 0797b945 authored by Kamil Trzciński's avatar Kamil Trzciński Committed by GitLab Release Tools Bot

Merge branch '4925-open-issues-based-on-prometheus-alerts-controller-ce' into 'master'

Remove unnecessary license check in operations controller

See merge request gitlab-org/gitlab-ce!25728

(cherry picked from commit 66481881)

44f3dc5b Remove unnecessary license check
parent 60d4d220
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment