Server.php 400 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\DAV\Direct;
  8. class Server extends \Sabre\DAV\Server {
  9. public function __construct($treeOrNode = null) {
  10. parent::__construct($treeOrNode);
  11. self::$exposeVersion = false;
  12. $this->enablePropfindDepthInfinityf = false;
  13. }
  14. }