Merge pull request #4290 from nextcloud/stable11-maintenance-mode-also-on-dav
Add missing maintenance plugin to new DAV endpoint
This commit is contained in:
commit
baa0b3235c
|
@ -70,6 +70,9 @@ class Server {
|
|||
$root = new RootCollection();
|
||||
$this->server = new \OCA\DAV\Connector\Sabre\Server($root);
|
||||
|
||||
// Add maintenance plugin
|
||||
$this->server->addPlugin(new \OCA\DAV\Connector\Sabre\MaintenancePlugin(\OC::$server->getConfig()));
|
||||
|
||||
// Backends
|
||||
$authBackend = new Auth(
|
||||
\OC::$server->getSession(),
|
||||
|
|
Loading…
Reference in New Issue