mirror of
https://github.com/nextcloud/server.git
synced 2026-04-09 02:56:28 -04:00
28 lines
645 B
PHP
28 lines
645 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
namespace OCA\DAV\Connector\Sabre;
|
|
|
|
/**
|
|
* Class \OCA\DAV\Connector\Sabre\Server
|
|
*
|
|
* This class overrides some methods from @see \Sabre\DAV\Server.
|
|
*
|
|
* @see \Sabre\DAV\Server
|
|
*/
|
|
class Server extends \Sabre\DAV\Server {
|
|
/** @var CachingTree $tree */
|
|
|
|
/**
|
|
* @see \Sabre\DAV\Server
|
|
*/
|
|
public function __construct($treeOrNode = null) {
|
|
parent::__construct($treeOrNode);
|
|
self::$exposeVersion = false;
|
|
$this->enablePropfindDepthInfinity = true;
|
|
}
|
|
}
|