summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php1
1 files changed, 1 insertions, 0 deletions
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/'
);