12345678910111213141516171819202122232425262728 |
- <?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;
- }
- }
|