Browse Source

Dont check Bucket Name in Nextcloud

Signed-off-by: Sebastien Cat <sparrow.jack63@gmail.com>
Signed-off-by: Sébastien Cat <sebastien.cat@inra.fr>
pull/14254/head
Sebastien Cat 7 years ago
committed by Sébastien Cat
parent
commit
59c3d8d85f
  1. 4
      lib/private/Files/ObjectStore/S3ConnectionTrait.php

4
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 {

Loading…
Cancel
Save