server/lib/private/connector/sabre/server.php

21 lines
401 B
PHP
Raw Normal View History

<?php
namespace OC\Connector\Sabre;
2013-09-23 13:59:39 +00:00
/**
* Class \OC\Connector\Sabre\Server
2013-09-23 13:59:39 +00:00
*
* This class overrides some methods from @see \Sabre\DAV\Server.
2013-09-23 13:59:39 +00:00
*
*/
class Server extends \Sabre\DAV\Server {
/**
* @see \Sabre\DAV\Server
*/
public function __construct($treeOrNode = null) {
parent::__construct($treeOrNode);
self::$exposeVersion = false;
$this->enablePropfindDepthInfinity = true;
}
}