Skip to content

Commit

Permalink
Make it clearer that we search the original location in the same grou…
Browse files Browse the repository at this point in the history
…pfolder

Co-authored-by: Louis <[email protected]>
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc and artonge committed Jan 15, 2024
1 parent 547a9c7 commit 95b18e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ACL/ACLManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private function getRelevantPaths(string $path): array {
if ($fromTrashbin && ($path === '__groupfolders/trash')) {
/* We are in trash and hit the root folder, continue looking for ACLs on parent folders in original location */
$trashItemRow = $this->trashManager->getTrashItemByFileName($groupFolderId, $rootTrashedItemName, $rootTrashedItemDate);
$path = dirname('__groupfolders/' . $trashItemRow['folder_id'] . '/' . $trashItemRow['original_location']);
$path = dirname('__groupfolders/' . $groupFolderId . '/' . $trashItemRow['original_location']);
$fromTrashbin = false;
continue;
}
Expand Down

0 comments on commit 95b18e2

Please sign in to comment.