mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
perf: don't fetch child mounts when getting node parent
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
4606539a2c
commit
54ff7f8780
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ class Node implements INode {
|
|||
|
||||
// Manually fetch the parent if the current node doesn't have a file info yet
|
||||
try {
|
||||
$fileInfo = $this->getFileInfo();
|
||||
$fileInfo = $this->getFileInfo(false);
|
||||
} catch (NotFoundException) {
|
||||
$this->parent = $this->root->get($newPath);
|
||||
/** @var \OCP\Files\Folder $this->parent */
|
||||
|
|
|
|||
Loading…
Reference in a new issue