From 2f732a55e1172eac037efa183fb825ba1d533f3a Mon Sep 17 00:00:00 2001 From: Travis Miller Date: Wed, 28 Feb 2018 21:32:03 -0600 Subject: [PATCH] review: remove un-necessary current_application_settings --- lib/api/project_export.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/project_export.rb b/lib/api/project_export.rb index 4041faae971..6ec2626df1a 100644 --- a/lib/api/project_export.rb +++ b/lib/api/project_export.rb @@ -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