Merge pull request #57186 from nextcloud/perbucket-without-multibucket

feat: don't gate perBucket object store configuration behind multibucket
This commit is contained in:
Robin Appelman 2026-01-05 16:49:16 +01:00 committed by GitHub
commit 8a05a3e01b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ trait S3ConnectionTrait {
throw new \Exception('Bucket has to be configured.');
}
if (isset($params['multibucket']) && $params['multibucket'] === true && isset($params['perBucket'][$params['bucket']])) {
if (isset($params['perBucket'][$params['bucket']])) {
$params = array_merge($params, $params['perBucket'][$params['bucket']]);
}