aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Direct/Server.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Direct/Server.php')
-rw-r--r--apps/dav/lib/Direct/Server.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/dav/lib/Direct/Server.php b/apps/dav/lib/Direct/Server.php
new file mode 100644
index 00000000000..957f6f99b34
--- /dev/null
+++ b/apps/dav/lib/Direct/Server.php
@@ -0,0 +1,17 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCA\DAV\Direct;
+
+class Server extends \Sabre\DAV\Server {
+ public function __construct($treeOrNode = null) {
+ parent::__construct($treeOrNode);
+ self::$exposeVersion = false;
+ $this->enablePropfindDepthInfinityf = false;
+ }
+}