review: remove un-necessary current_application_settings

This commit is contained in:
Travis Miller 2018-02-28 21:32:03 -06:00
parent 60642307c7
commit 2f732a55e1

View file

@ -1,7 +1,7 @@
module API module API
class ProjectExport < Grape::API class ProjectExport < Grape::API
before do before do
not_found! unless Gitlab::CurrentSettings.current_application_settings.project_export_enabled? not_found! unless Gitlab::CurrentSettings.project_export_enabled?
authorize_admin_project authorize_admin_project
end end