Skip to content

Commit dc4d4d8

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 <[email protected]>
1 parent 154f359 commit dc4d4d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)