diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-05-06 18:11:54 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-05-06 18:11:54 +0200 |
commit | ecbc009e2fc8aa7fd078634f4cb2271fded69fb6 (patch) | |
tree | 06a38a88467567ec86ee55bf2f83947f32a1607c /apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php | |
parent | afc59665582dbd83c4c25cab21a5b30b79cac676 (diff) | |
download | nextcloud-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/lib/CalDAV/InvitationResponse/InvitationResponseServer.php')
-rw-r--r-- | apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php b/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php index 9a0e78e55a8..3f4031740cc 100644 --- a/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php +++ b/apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php @@ -52,7 +52,7 @@ class InvitationResponseServer { $this->server = new \OCA\DAV\Connector\Sabre\Server(new CachingTree($root)); // Add maintenance plugin - $this->server->addPlugin(new \OCA\DAV\Connector\Sabre\MaintenancePlugin(\OC::$server->getConfig())); + $this->server->addPlugin(new \OCA\DAV\Connector\Sabre\MaintenancePlugin(\OC::$server->getConfig(), \OC::$server->getL10N('dav'))); // Set URL explicitly due to reverse-proxy situations $this->server->httpRequest->setUrl($baseUri); |