summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v2
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-05-06 18:11:54 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-05-06 18:11:54 +0200
commitecbc009e2fc8aa7fd078634f4cb2271fded69fb6 (patch)
tree06a38a88467567ec86ee55bf2f83947f32a1607c /apps/dav/appinfo/v2
parentafc59665582dbd83c4c25cab21a5b30b79cac676 (diff)
downloadnextcloud-server-ecbc009e2fc8aa7fd078634f4cb2271fded69fb6.tar.gz
nextcloud-server-ecbc009e2fc8aa7fd078634f4cb2271fded69fb6.zip
Translate the maintenance mode message in webdav
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/appinfo/v2')
-rw-r--r--apps/dav/appinfo/v2/direct.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v2/direct.php b/apps/dav/appinfo/v2/direct.php
index 4c6e967e10e..010a3ebf827 100644
--- a/apps/dav/appinfo/v2/direct.php
+++ b/apps/dav/appinfo/v2/direct.php
@@ -35,7 +35,7 @@ ignore_user_abort(true);
$requestUri = \OC::$server->getRequest()->getRequestUri();
-$serverFactory = new \OCA\DAV\Direct\ServerFactory(\OC::$server->getConfig());
+$serverFactory = new \OCA\DAV\Direct\ServerFactory(\OC::$server->getConfig(), \OC::$server->getL10N('dav'));
$server = $serverFactory->createServer(
$baseuri,
$requestUri,