Skip to content

Commit 2f1949a

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
fix(tests): Share manager error message from #52076
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent f724102 commit 2f1949a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Share20/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ protected function pathCreateChecks($path) {
600600
$mounts = $this->mountManager->findIn($path->getPath());
601601
foreach ($mounts as $mount) {
602602
if ($mount->getStorage()->instanceOfStorage('\OCA\Files_Sharing\ISharedStorage')) {
603-
throw new \InvalidArgumentException('Path contains files shared with you');
603+
throw new \InvalidArgumentException('You cannot share a folder that contains other shares');
604604
}
605605
}
606606
}

0 commit comments

Comments
 (0)