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:
parent
1374183f92
commit
59c3d8d85f
|
@ -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…
Reference in New Issue