diff options
author | Maxime Besson <maxime.besson@worteks.com> | 2021-06-28 17:58:50 +0200 |
---|---|---|
committer | Maxime Besson <maxime.besson@worteks.com> | 2021-06-30 09:25:04 +0200 |
commit | 388a458cd5bcbafe3c6b589b76a35fed8aeda484 (patch) | |
tree | 577024e7a934b110f17801d420868126914c842e /lib/private/Files | |
parent | 547438527d5184f786117a21f65ca51b95ee695c (diff) | |
download | nextcloud-server-388a458cd5bcbafe3c6b589b76a35fed8aeda484.tar.gz nextcloud-server-388a458cd5bcbafe3c6b589b76a35fed8aeda484.zip |
fix(proxy): use accessor
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/ObjectStore/S3ConnectionTrait.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index 6fd6b14aabe..fe7f7487a98 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -130,8 +130,8 @@ trait S3ConnectionTrait { 'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()), 'csm' => false, ]; - if (isset($this->params['proxy'])) { - $options['http'] = [ 'proxy' => $this->params['proxy'] ]; + if ($this->getProxy()) { + $options['http'] = [ 'proxy' => $this->getProxy() ]; } if (isset($this->params['legacy_auth']) && $this->params['legacy_auth']) { $options['signature_version'] = 'v2'; |