diff --git a/3rdparty b/3rdparty index 1800e7d4b9a2c..ff61822150ccd 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit 1800e7d4b9a2c9dadc885dddc71ce9bbea013393 +Subproject commit ff61822150ccd189a407b1d76309ac900baffa7b diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php index 7ceecf731e453..1519dd603a5e7 100644 --- a/apps/dav/lib/Connector/Sabre/Directory.php +++ b/apps/dav/lib/Connector/Sabre/Directory.php @@ -463,8 +463,7 @@ public function moveInto($targetName, $fullSourcePath, INode $sourceNode) { return true; } - - public function copyInto($targetName, $sourcePath, INode $sourceNode) { + public function copyInto($targetName, $sourcePath, INode $sourceNode, int $depth): bool { if ($sourceNode instanceof File || $sourceNode instanceof Directory) { try { $destinationPath = $this->getPath() . '/' . $targetName; diff --git a/apps/dav/lib/Connector/Sabre/ObjectTree.php b/apps/dav/lib/Connector/Sabre/ObjectTree.php index bfbdfb33db047..b8fb7a13c80cb 100644 --- a/apps/dav/lib/Connector/Sabre/ObjectTree.php +++ b/apps/dav/lib/Connector/Sabre/ObjectTree.php @@ -151,7 +151,7 @@ public function getNodeForPath($path) { * @throws \Sabre\DAV\Exception\ServiceUnavailable * @return void */ - public function copy($sourcePath, $destinationPath) { + public function copy($sourcePath, $destinationPath, int $depth): void { if (!$this->fileView) { throw new \Sabre\DAV\Exception\ServiceUnavailable('filesystem not setup'); }