summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-30 15:58:42 +0200
committerLouis Chemineau <louis@chmn.me>2023-04-03 14:06:28 +0200
commit1a6709cf434a6eeb7356254938b15c98d375a955 (patch)
tree998ecf3346c97092135193804d852d1247a25626 /apps/dav
parent691aa8d0257e9361bbc5a64b09cd634435dbd40a (diff)
downloadnextcloud-server-1a6709cf434a6eeb7356254938b15c98d375a955.tar.gz
nextcloud-server-1a6709cf434a6eeb7356254938b15c98d375a955.zip
Migrate metadata as JSON to value as STRING
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Connector/Sabre/FilesPlugin.php2
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 a6c9b8b4ebe..6b6f622a5a7 100644
--- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
@@ -436,7 +436,7 @@ class FilesPlugin extends ServerPlugin {
\OC::$server->get(LoggerInterface::class)->debug('Inefficient fetching of metadata');
}
- return json_encode((object)$sizeMetadata->getMetadata(), JSON_THROW_ON_ERROR);
+ return $sizeMetadata->getValue();
});
}
}