mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 08:25:56 -04:00
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:
parent
2735c1e97f
commit
15fc5dfa26
1 changed files with 1 additions and 1 deletions
|
|
@ -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']]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue