aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-03-07 12:48:57 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-03-07 12:49:06 -0100
commit3fa5e598a8e74cc3c89b3c43a370bfcbef5115c5 (patch)
tree551f0be5eaf136d877b1de5ef0eabe885c3faf42 /apps
parente17424fa11e25828cce3756e9c076f08f9c45e01 (diff)
downloadnextcloud-server-3fa5e598a8e74cc3c89b3c43a370bfcbef5115c5.tar.gz
nextcloud-server-3fa5e598a8e74cc3c89b3c43a370bfcbef5115c5.zip
feat(metadata): get deprecated status using file etag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Connector/Sabre/FilesPlugin.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
index 4fed12e6569..cd692602df8 100644
--- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php
@@ -611,14 +611,10 @@ class FilesPlugin extends ServerPlugin {
$metadata->setArray($metadataKey, $value);
break;
case IMetadataValueWrapper::TYPE_STRING_LIST:
- $metadata->setStringList(
- $metadataKey, $value, $knownMetadata->isIndex($metadataKey)
- );
+ $metadata->setStringList($metadataKey, $value, $knownMetadata->isIndex($metadataKey));
break;
case IMetadataValueWrapper::TYPE_INT_LIST:
- $metadata->setIntList(
- $metadataKey, $value, $knownMetadata->isIndex($metadataKey)
- );
+ $metadata->setIntList($metadataKey, $value, $knownMetadata->isIndex($metadataKey));
break;
}