From dc4d4d86133d60313397fceb3085af7e70116ba2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 19 Dec 2025 00:31:29 +0100 Subject: [PATCH] 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 --- lib/private/Files/ObjectStore/S3ConnectionTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index 360b92e76636b..082cceaa9de9b 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -39,7 +39,7 @@ protected function parseParams($params) { 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']]); }