mirror of
https://github.com/nextcloud/server.git
synced 2026-02-24 10:26:07 -05:00
Merge pull request #58121 from nextcloud/move-share-out-share-reshare
fix: don't trigger moveShareInOrOutOfShare for reshares
This commit is contained in:
commit
7efdfd161b
1 changed files with 6 additions and 0 deletions
|
|
@ -55,6 +55,12 @@ class Updater {
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue