chore: Add comment to make code clearer

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2024-09-16 18:13:54 +02:00 committed by Côme Chilliet
parent 6bd597b275
commit 3094e7020e

View file

@ -1101,6 +1101,7 @@ class Manager implements IManager {
foreach ($reshareRecords as $child) {
try {
/* Check if the share is still valid (means the resharer still has access to the file through another mean) */
$this->generalCreateChecks($child);
} catch (GenericShareException $e) {
/* The check is invalid, promote it to a direct share from the sharer of parent share */