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