Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-06 02:11:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-06 02:11:43 +0300
commit13d327df4f3c52505bf8ec1144f2dedb6a351ad6 (patch)
tree546e42fe159cde302b5e4d0b923d399e79bfbf71 /lib/gitlab/kroki.rb
parent9a70fcd2e277721bbe7b9a0c92ed925ddea201b6 (diff)
Add latest changes from gitlab-org/gitlab@13-9-stable-ee
Diffstat (limited to 'lib/gitlab/kroki.rb')
-rw-r--r--lib/gitlab/kroki.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/gitlab/kroki.rb b/lib/gitlab/kroki.rb
index 2948b6ebd5b..fa10e922c80 100644
--- a/lib/gitlab/kroki.rb
+++ b/lib/gitlab/kroki.rb
@@ -31,9 +31,6 @@ module Gitlab
DIAGRAMS_FORMATS
end
- # No additional diagram formats
- return diagram_formats unless current_settings.kroki_formats.present?
-
# Diagrams that require a companion container must be explicitly enabled from the settings
diagram_formats.select do |diagram_type|
current_settings.kroki_format_supported?(diagram_type)