Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/files_sharing/lib/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ private static function moveShareInOrOutOfShare($path): void {
return;
}

// if the share itself is being moved, we don't need to do anything,
// since incoming shares can't be moved into other shares (and thus also not out of shares)
if ($src->getMountPoint() instanceof SharedMount && $src->getInternalPath() === '') {
return;
}

$shareManager = Server::get(\OCP\Share\IManager::class);

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