2013-09-20 21:21:48 +00:00
|
|
|
<?php
|
2015-02-12 11:29:01 +00:00
|
|
|
namespace OC\Connector\Sabre;
|
|
|
|
|
2013-09-23 13:59:39 +00:00
|
|
|
/**
|
2015-02-12 11:29:01 +00:00
|
|
|
* Class \OC\Connector\Sabre\Server
|
2013-09-23 13:59:39 +00:00
|
|
|
*
|
2015-02-12 11:29:01 +00:00
|
|
|
* This class overrides some methods from @see \Sabre\DAV\Server.
|
2013-09-23 13:59:39 +00:00
|
|
|
*
|
2013-09-20 21:21:48 +00:00
|
|
|
*/
|
2015-02-12 11:29:01 +00:00
|
|
|
class Server extends \Sabre\DAV\Server {
|
2014-08-14 13:18:49 +00:00
|
|
|
|
2014-09-15 16:38:01 +00:00
|
|
|
/**
|
|
|
|
* @see \Sabre\DAV\Server
|
|
|
|
*/
|
|
|
|
public function __construct($treeOrNode = null) {
|
|
|
|
parent::__construct($treeOrNode);
|
|
|
|
self::$exposeVersion = false;
|
2015-02-12 11:29:01 +00:00
|
|
|
$this->enablePropfindDepthInfinity = true;
|
2013-09-20 21:21:48 +00:00
|
|
|
}
|
|
|
|
}
|