summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2016-12-07 14:00:06 +0200
committerValery Sizov <valery@gitlab.com>2016-12-07 14:00:06 +0200
commitb12d6541835024eb74384551b84bf0e74747d0c3 (patch)
treecde3a9635d616f20bf8c747221d475e0c852b86b /app
parent67b7637e5d7d3cf3e3f5cde6e7f984ece368c48c (diff)
downloadgitlab-ce-b12d6541835024eb74384551b84bf0e74747d0c3.tar.gz
BitBuckpet importer. Refactoring. Iteration 2
Diffstat (limited to 'app')
-rw-r--r--app/controllers/import/bitbucket_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/bitbucket_controller.rb b/app/controllers/import/bitbucket_controller.rb
index 9c97a97a5dd..12716d60e7d 100644
--- a/app/controllers/import/bitbucket_controller.rb
+++ b/app/controllers/import/bitbucket_controller.rb
@@ -62,7 +62,7 @@ class Import::BitbucketController < Import::BaseController
end
def provider
- Gitlab.config.omniauth.providers.find { |provider| provider.name == 'bitbucket' }
+ Gitlab::OAuth::Provider.config_for('bitbucket')
end
def options