aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2024-03-21 19:05:07 +0100
committerGitHub <noreply@github.com>2024-03-21 19:05:07 +0100
commit82bcbce12c971e9acc1edf5b4d95f7338845915d (patch)
treeae1ae6d697b40c066ceeb647f932965291f363a5
parent1b237b19f126524afc042cf84b423ed379f7fa56 (diff)
parentd0e26cfd575ac047d80787f6ad2fff74975fe1ca (diff)
downloadnextcloud-server-82bcbce12c971e9acc1edf5b4d95f7338845915d.tar.gz
nextcloud-server-82bcbce12c971e9acc1edf5b4d95f7338845915d.zip
Merge pull request #43816 from nextcloud/backport/43060/stable28
[stable28] fix: Allow to disable multipart copy on external s3 storage
-rw-r--r--apps/files_external/lib/Lib/Backend/AmazonS3.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/Backend/AmazonS3.php b/apps/files_external/lib/Lib/Backend/AmazonS3.php
index 235986c429b..11479c70c8e 100644
--- a/apps/files_external/lib/Lib/Backend/AmazonS3.php
+++ b/apps/files_external/lib/Lib/Backend/AmazonS3.php
@@ -56,6 +56,9 @@ class AmazonS3 extends Backend {
->setType(DefinitionParameter::VALUE_BOOLEAN),
(new DefinitionParameter('legacy_auth', $l->t('Legacy (v2) authentication')))
->setType(DefinitionParameter::VALUE_BOOLEAN),
+ (new DefinitionParameter('useMultipartCopy', $l->t('Enable multipart copy')))
+ ->setType(DefinitionParameter::VALUE_BOOLEAN)
+ ->setDefaultValue(true),
])
->addAuthScheme(AccessKey::SCHEME_AMAZONS3_ACCESSKEY)
->addAuthScheme(AuthMechanism::SCHEME_NULL)