mirror of
https://github.com/nextcloud/server.git
synced 2026-05-20 17:15:46 -04:00
Merge pull request #52192 from nextcloud/backport/52187/stable30
fix(tests): Share manager error message from #52076
This commit is contained in:
commit
291fb0d263
1 changed files with 1 additions and 1 deletions
|
|
@ -600,7 +600,7 @@ class Manager implements IManager {
|
|||
$mounts = $this->mountManager->findIn($path->getPath());
|
||||
foreach ($mounts as $mount) {
|
||||
if ($mount->getStorage()->instanceOfStorage('\OCA\Files_Sharing\ISharedStorage')) {
|
||||
throw new \InvalidArgumentException('Path contains files shared with you');
|
||||
throw new \InvalidArgumentException('You cannot share a folder that contains other shares');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue