From 0f92a2c6fdce9130433d54f62725abfc6d692e9d Mon Sep 17 00:00:00 2001
From: Arthur Schiwon <blizzz@arthur-schiwon.de>
Date: Wed, 14 Jun 2017 11:47:44 +0200
Subject: [PATCH] bycatch, x-ldif entry was missing

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
---
 core/js/mimetypelist.js                    | 2 +-
 resources/config/mimetypealiases.dist.json | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js
index 07ae0efee0a..b0104b50bef 100644
--- a/core/js/mimetypelist.js
+++ b/core/js/mimetypelist.js
@@ -90,8 +90,8 @@ OC.MimeTypeList={
     "text/x-c": "text/code",
     "text/x-c++src": "text/code",
     "text/x-h": "text/code",
-    "text/x-ldif": "text/code",
     "text/x-java-source": "text/code",
+    "text/x-ldif": "text/code",
     "text/x-python": "text/code",
     "text/x-shellscript": "text/code",
     "web": "text/code"
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index daf75453dc8..2c2ea28059c 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -91,6 +91,7 @@
 	"text/x-c++src": "text/code",
 	"text/x-h": "text/code",
 	"text/x-java-source": "text/code",
+	"text/x-ldif": "text/code",
 	"text/x-python": "text/code",
 	"text/x-shellscript": "text/code",
 	"web": "text/code"
-- 
GitLab