Commit 2f732a55 authored by Travis Miller's avatar Travis Miller

review: remove un-necessary current_application_settings

parent 60642307
module API
class ProjectExport < Grape::API
before do
not_found! unless Gitlab::CurrentSettings.current_application_settings.project_export_enabled?
not_found! unless Gitlab::CurrentSettings.project_export_enabled?
authorize_admin_project
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