Merge pull request #18739 from nextcloud/fix/18712/do-not-check-inherited-shares-on-current-node

[inherited shares] do not retrieve shares on current folder
This commit is contained in:
Roeland Jago Douma 2020-01-08 12:59:38 +01:00 committed by GitHub
commit c08a949881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -865,8 +865,8 @@ class ShareAPIController extends OCSController {
/** @var Node[] $nodes */
$nodes = [];
while ($node->getPath() !== $basePath) {
$nodes[] = $node;
$node = $node->getParent();
$nodes[] = $node;
}
// for each nodes, retrieve shares.