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

32 lines
702 B
PHP
Raw Normal View History

<?php
/**
* 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
*/
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
*
* @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;
}
}