2013-09-21 01:21:48 +04:00
|
|
|
<?php
|
2015-02-26 13:37:37 +03:00
|
|
|
/**
|
|
|
|
* ownCloud / SabreDAV
|
|
|
|
*
|
|
|
|
* @author Markus Goetz
|
|
|
|
*
|
|
|
|
* @copyright Copyright (C) 2007-2013 Rooftop Solutions. All rights reserved.
|
|
|
|
* @author Evert Pot (http://www.rooftopsolutions.nl/)
|
|
|
|
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
|
|
|
|
*/
|
|
|
|
|
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
|
|
|
*
|
2015-02-26 13:37:37 +03:00
|
|
|
* @see \Sabre\DAV\Server
|
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
|
|
|
}
|
|
|
|
}
|