aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-18 12:40:17 +0200
committerprovokateurin <kate@provokateurin.de>2024-10-21 12:37:59 +0200
commite8426996f59ab6dbf0c94adee8f410cbd572b11a (patch)
tree70f296c1177c9632865688a54f7f68e5524ccc67 /apps/dav/lib/Connector
parent381077028adf388a7081cf42026570c6be47b198 (diff)
downloadnextcloud-server-e8426996f59ab6dbf0c94adee8f410cbd572b11a.tar.gz
nextcloud-server-e8426996f59ab6dbf0c94adee8f410cbd572b11a.zip
fix(psalm): Fix some newly detected issuesrefactor/apps/constructor-property-promotion
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/dav/lib/Connector')
-rw-r--r--apps/dav/lib/Connector/Sabre/Directory.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php
index a8b2438d4bc..a193417831c 100644
--- a/apps/dav/lib/Connector/Sabre/Directory.php
+++ b/apps/dav/lib/Connector/Sabre/Directory.php
@@ -363,10 +363,6 @@ class Directory extends Node implements \Sabre\DAV\ICollection, \Sabre\DAV\IQuot
throw new BadRequest('Incompatible node types');
}
- if (!$this->fileView) {
- throw new ServiceUnavailable('filesystem not setup');
- }
-
$destinationPath = $this->getPath() . '/' . $targetName;