diff options
Diffstat (limited to 'lib/gitlab/kroki.rb')
-rw-r--r-- | lib/gitlab/kroki.rb | 3 |
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) |