From 64aba49461114b986952ece89ea9467618a0ab19 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sun, 8 Dec 2019 17:20:50 +0100 Subject: Ensure that we don't merge broken json. Signed-off-by: Daniel Kesselberg --- lib/private/Server.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/private/Server.php') diff --git a/lib/private/Server.php b/lib/private/Server.php index d16b55ac215..dcac72369e4 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -882,6 +882,7 @@ class Server extends ServerContainer implements IServerContainer { $this->registerService(\OCP\Files\IMimeTypeDetector::class, function (Server $c) { return new \OC\Files\Type\Detection( $c->getURLGenerator(), + $c->getLogger(), \OC::$configDir, \OC::$SERVERROOT . '/resources/config/' ); -- cgit v1.2.3