mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 01:00:50 -04:00
don't preload metadata for the sub-childen
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
eaaa3521e5
commit
9b3d8f334b
1 changed files with 1 additions and 1 deletions
|
|
@ -465,7 +465,7 @@ class FilesPlugin extends ServerPlugin {
|
|||
|
||||
$requestProperties = $propFind->getRequestedProperties();
|
||||
|
||||
if ($this->config->getSystemValueBool('enable_file_metadata', true)) {
|
||||
if ($this->config->getSystemValueBool('enable_file_metadata', true) && $propFind->getDepth() === 1) {
|
||||
$requestedMetaData = [];
|
||||
foreach ($requestProperties as $requestProperty) {
|
||||
if (isset(self::ALL_METADATA_PROPS[$requestProperty])) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue