Skip to content

Commit cfd8f89

Browse files
committed
fix: don't trigger moveShareInOrOutOfShare for reshares
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 18d5ded commit cfd8f89

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/files_sharing/lib/Updater.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ private static function moveShareInOrOutOfShare($path): void {
5555
return;
5656
}
5757

58+
if ($src->getMountPoint() instanceof SharedMount) {
59+
return;
60+
}
61+
5862
$shareManager = Server::get(\OCP\Share\IManager::class);
5963

6064
// We intentionally include invalid shares, as they have been automatically invalidated due to the node no longer

0 commit comments

Comments
 (0)