diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index b8c7e8ad12e03..52618d4e03e00 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -1101,6 +1101,7 @@ protected function promoteReshares(IShare $share): void {
 
 		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 */