review: remove un-necessary current_application_settings
This commit is contained in:
parent
60642307c7
commit
2f732a55e1
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue