mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -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
f8dbe2349a
commit
9125715c56
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,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