perf: don't fetch child mounts when getting node parent
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user