aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-09-16 18:13:54 +0200
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-10-14 11:58:47 +0200
commit3094e7020e4d2e7fc3089259fd88179cfde489c3 (patch)
tree718cd620def9a687b5c8545eda9e7cf98a6853a7 /lib
parent6bd597b275c64327de17de738ac40d55579f9b08 (diff)
downloadnextcloud-server-3094e7020e4d2e7fc3089259fd88179cfde489c3.tar.gz
nextcloud-server-3094e7020e4d2e7fc3089259fd88179cfde489c3.zip
chore: Add comment to make code clearer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Share20/Manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index b8c7e8ad12e..52618d4e03e 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -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 */