summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
index feca792848e..02b6fff6846 100644
--- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php
+++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php
@@ -99,10 +99,6 @@ trait S3ConnectionTrait {
}
$this->connection = new S3Client($options);
- if (!$this->connection->isBucketDnsCompatible($this->bucket)) {
- throw new \Exception("The configured bucket name is invalid: " . $this->bucket);
- }
-
if (!$this->connection->doesBucketExist($this->bucket)) {
$logger = \OC::$server->getLogger();
try {