Skip to content

Commit

Permalink
fix: Remove unnecessary exception formatting code in DAV
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Sep 18, 2024
1 parent 6d6baec commit 593c3d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/dav/lib/Connector/Sabre/FilesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ public function httpGet(RequestInterface $request, ResponseInterface $response)
public function handleGetProperties(PropFind $propFind, \Sabre\DAV\INode $node) {
$httpRequest = $this->server->httpRequest;

throw new NotFound(' does not exist');

if ($node instanceof \OCA\DAV\Connector\Sabre\Node) {
/**
* This was disabled, because it made dir listing throw an exception,
Expand Down

0 comments on commit 593c3d6

Please sign in to comment.