Server.php 645 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCA\DAV\Connector\Sabre;
  8. /**
  9. * Class \OCA\DAV\Connector\Sabre\Server
  10. *
  11. * This class overrides some methods from @see \Sabre\DAV\Server.
  12. *
  13. * @see \Sabre\DAV\Server
  14. */
  15. class Server extends \Sabre\DAV\Server {
  16. /** @var CachingTree $tree */
  17. /**
  18. * @see \Sabre\DAV\Server
  19. */
  20. public function __construct($treeOrNode = null) {
  21. parent::__construct($treeOrNode);
  22. self::$exposeVersion = false;
  23. $this->enablePropfindDepthInfinity = true;
  24. }
  25. }