Skip to content

Commit afa2329

Browse files
committed
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>
1 parent c50c5a9 commit afa2329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/ObjectStore/S3ConnectionTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function parseParams($params) {
3939
throw new \Exception('Bucket has to be configured.');
4040
}
4141

42-
if (isset($params['multibucket']) && $params['multibucket'] === true && isset($params['perBucket'][$params['bucket']])) {
42+
if (isset($params['perBucket'][$params['bucket']])) {
4343
$params = array_merge($params, $params['perBucket'][$params['bucket']]);
4444
}
4545

0 commit comments

Comments
 (0)