summaryrefslogtreecommitdiff
path: root/lib/api/settings.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-10-16 22:39:33 +0000
committerDouwe Maan <douwe@gitlab.com>2018-10-16 22:39:33 +0000
commita706b3735ef01072401dd1ee67ba0586a2fdf61c (patch)
treecd16c664e7c0a207c8a2cc7ff0c97d6e5c619b92 /lib/api/settings.rb
parent90056ed25b547537b02b29715e6153d3aab4cc79 (diff)
parent68eafa50e925ac6da60d84a67884c53c13552315 (diff)
downloadgitlab-ce-a706b3735ef01072401dd1ee67ba0586a2fdf61c.tar.gz
Merge branch 'master' into 'dm-document-role-maintainer'
# Conflicts: # doc/development/code_review.md
Diffstat (limited to 'lib/api/settings.rb')
-rw-r--r--lib/api/settings.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb
index edbd134822c..f53ba0ab761 100644
--- a/lib/api/settings.rb
+++ b/lib/api/settings.rb
@@ -66,10 +66,6 @@ module API
optional :html_emails_enabled, type: Boolean, desc: 'By default GitLab sends emails in HTML and plain text formats so mail clients can choose what format to use. Disable this option if you only want to send emails in plain text format.'
optional :import_sources, type: Array[String], values: %w[github bitbucket gitlab google_code fogbugz git gitlab_project manifest],
desc: 'Enabled sources for code import during project creation. OmniAuth must be configured for GitHub, Bitbucket, and GitLab.com'
- optional :koding_enabled, type: Boolean, desc: 'Enable Koding'
- given koding_enabled: ->(val) { val } do
- requires :koding_url, type: String, desc: 'The Koding team URL'
- end
optional :max_artifacts_size, type: Integer, desc: "Set the maximum file size for each job's artifacts"
optional :max_attachment_size, type: Integer, desc: 'Maximum attachment size in MB'
optional :max_pages_size, type: Integer, desc: 'Maximum size of pages in MB'