Skip to content

Commit 50a72bf

Browse files
authored
Merge pull request #59645 from nextcloud/backport/59573/stable33
[stable33] perf: don't fetch child mounts when getting node parent
2 parents 0b0401c + 00b5a15 commit 50a72bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Node/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function getParent(): INode|IRootFolder {
284284

285285
// Manually fetch the parent if the current node doesn't have a file info yet
286286
try {
287-
$fileInfo = $this->getFileInfo();
287+
$fileInfo = $this->getFileInfo(false);
288288
} catch (NotFoundException) {
289289
$this->parent = $this->root->get($newPath);
290290
/** @var \OCP\Files\Folder $this->parent */

0 commit comments

Comments
 (0)