diff options
author | Ojas Shirekar <ojas.shirekar@gmail.com> | 2016-09-09 21:24:20 +0530 |
---|---|---|
committer | Ojas Shirekar <ojas.shirekar@gmail.com> | 2016-09-09 21:24:20 +0530 |
commit | e672c0128a232cd25112de4e84528112ec2e59d9 (patch) | |
tree | d2411f1bb08459bbe7f1dc3531471e54054e785c /app/models/application_setting.rb | |
parent | b7e6da5a4baf1e6ac0e6d62ef6ff5a09de44d6f1 (diff) | |
download | gitlab-ce-e672c0128a232cd25112de4e84528112ec2e59d9.tar.gz |
Pull import sources from Gitlab::ImportSources
Diffstat (limited to 'app/models/application_setting.rb')
-rw-r--r-- | app/models/application_setting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/application_setting.rb b/app/models/application_setting.rb index 246477ffe88..55d2e07de08 100644 --- a/app/models/application_setting.rb +++ b/app/models/application_setting.rb @@ -146,7 +146,7 @@ class ApplicationSetting < ActiveRecord::Base default_project_visibility: Settings.gitlab.default_projects_features['visibility_level'], default_snippet_visibility: Settings.gitlab.default_projects_features['visibility_level'], domain_whitelist: Settings.gitlab['domain_whitelist'], - import_sources: %w[github bitbucket gitlab google_code fogbugz git gitlab_project], + import_sources: Gitlab::ImportSources.values, shared_runners_enabled: Settings.gitlab_ci['shared_runners_enabled'], max_artifacts_size: Settings.artifacts['max_size'], require_two_factor_authentication: false, |