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
This commit is contained in:
Kamil Trzciński 2019-03-08 08:28:19 +00:00
commit 6648188121

View file

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