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>
This commit is contained in:
Sebastien Cat 2019-02-17 15:59:47 +01:00 committed by Sébastien Cat
parent 1374183f92
commit 59c3d8d85f
1 changed files with 0 additions and 4 deletions

View File

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