feat: don't gate perBucket object store configuration behind multibucket

a setup can have multiple bucket without having `multibucket` enabled trough things like per-groupfolder buckets

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2025-12-19 00:31:29 +01:00 committed by backportbot[bot]
parent 2735c1e97f
commit 15fc5dfa26

View file

@ -35,7 +35,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']]);
}