aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/connector/sabre/server.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/connector/sabre/server.php b/lib/private/connector/sabre/server.php
index 43c3464f1ca..137082eea67 100644
--- a/lib/private/connector/sabre/server.php
+++ b/lib/private/connector/sabre/server.php
@@ -38,6 +38,14 @@ class OC_Connector_Sabre_Server extends Sabre\DAV\Server {
*/
private $ignoreRangeHeader = false;
+ /**
+ * @see \Sabre\DAV\Server
+ */
+ public function __construct($treeOrNode = null) {
+ parent::__construct($treeOrNode);
+ self::$exposeVersion = false;
+ }
+
public function getRequestUri() {
if (!is_null($this->overLoadedUri)) {