diff options
author | Robin Appelman <robin@icewind.nl> | 2023-08-14 12:58:46 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2023-08-14 12:58:46 +0200 |
commit | fce1a164a07a33fe2ec71d845a733191bccf59a5 (patch) | |
tree | e1aff867e54c00edad464243b9f231c01434ff39 /apps/dav/lib/Connector/Sabre/FilesPlugin.php | |
parent | dfbc0d8572395c459aa80df5e503b8688e2b7f6f (diff) | |
download | nextcloud-server-fce1a164a07a33fe2ec71d845a733191bccf59a5.tar.gz nextcloud-server-fce1a164a07a33fe2ec71d845a733191bccf59a5.zip |
don't preload metadata for the sub-childen
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/FilesPlugin.php')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/FilesPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php index ae3caa29b91..7d7b27df890 100644 --- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php @@ -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])) { |