diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2023-04-04 10:23:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 10:23:54 +0200 |
commit | 7ab44b2d285ca2bfb9098746d2bb12968343b7c3 (patch) | |
tree | 0b0e2ac509251e8aef628ce796ffd1f21ef5b774 /apps/dav | |
parent | 135b0ded50a5909f78685f9bb09b84d42f8d51cd (diff) | |
parent | 1a6709cf434a6eeb7356254938b15c98d375a955 (diff) | |
download | nextcloud-server-7ab44b2d285ca2bfb9098746d2bb12968343b7c3.tar.gz nextcloud-server-7ab44b2d285ca2bfb9098746d2bb12968343b7c3.zip |
Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_value
Migrate metadata JSON column to new value TEXT column
Diffstat (limited to 'apps/dav')
-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 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(); }); } } |