We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b26eb0 + 5213e5b commit 234f052Copy full SHA for 234f052
apps/files_sharing/lib/Updater.php
@@ -50,6 +50,12 @@ private static function moveShareInOrOutOfShare($path): void {
50
51
$src = $userFolder->get($path);
52
53
+ // if the share itself is being moved, we don't need to do anything,
54
+ // since incoming shares can't be moved into other shares (and thus also not out of shares)
55
+ if ($src->getMountPoint() instanceof SharedMount && $src->getInternalPath() === '') {
56
+ return;
57
+ }
58
+
59
$shareManager = Server::get(\OCP\Share\IManager::class);
60
61
// We intentionally include invalid shares, as they have been automatically invalidated due to the node no longer
0 commit comments