diff options
Diffstat (limited to 'lib/api/import_bitbucket_server.rb')
-rw-r--r-- | lib/api/import_bitbucket_server.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/api/import_bitbucket_server.rb b/lib/api/import_bitbucket_server.rb index 0f0d62dcbfb..0f2d6239d0d 100644 --- a/lib/api/import_bitbucket_server.rb +++ b/lib/api/import_bitbucket_server.rb @@ -3,10 +3,7 @@ module API class ImportBitbucketServer < ::API::Base feature_category :importers - - before do - forbidden! unless Gitlab::CurrentSettings.import_sources&.include?('bitbucket_server') - end + urgency :low helpers do def client |