summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre/server.php
blob: 0dc81554d567274b1269f3dd2fe169fb42bc2fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
namespace OC\Connector\Sabre;

/**
 * Class \OC\Connector\Sabre\Server
 *
 * This class overrides some methods from @see \Sabre\DAV\Server.
 *
 */
class Server extends \Sabre\DAV\Server {

	/**
	 * @see \Sabre\DAV\Server
	 */
	public function __construct($treeOrNode = null) {
		parent::__construct($treeOrNode);
		self::$exposeVersion = false;
		$this->enablePropfindDepthInfinity = true;
	}
}