Skip to content

Commit

Permalink
DB S3 key should not be forced (#343)
Browse files Browse the repository at this point in the history
In cases where AWS configuration is done on server/env
the S3 driver should still be instantiable.
  • Loading branch information
jasondeewright committed Aug 1, 2023
1 parent 039c977 commit a135449
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Adapters/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ public function instantiate(string $adapter): UploadAdapter
*/
protected function awsS3(Util $util)
{
if (!$this->settings->get('fof-upload.awsS3Key')) {
return null;
}

$s3Config = [
'region' => empty($this->settings->get('fof-upload.awsS3Region')) ? null : $this->settings->get('fof-upload.awsS3Region'),
'version' => 'latest',
Expand Down

0 comments on commit a135449

Please sign in to comment.