From 35e33d6cfc0d4bde605e0f50c74b5b0c3850aea8 Mon Sep 17 00:00:00 2001 From: Sergei Shilko Date: Thu, 24 Dec 2015 10:23:02 +0100 Subject: [PATCH] Remove region argument from S3 constructor $region argument is never used https://github.com/zendframework/zf1/blob/master/library/Zend/Service/Amazon/Abstract.php#L81 --- library/Zend/Service/Amazon/S3.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/Zend/Service/Amazon/S3.php b/library/Zend/Service/Amazon/S3.php index 613c95045a..c291ff7a0b 100755 --- a/library/Zend/Service/Amazon/S3.php +++ b/library/Zend/Service/Amazon/S3.php @@ -104,11 +104,10 @@ public function getEndpoint() * * @param string $accessKey * @param string $secretKey - * @param string $region */ - public function __construct($accessKey=null, $secretKey=null, $region=null) + public function __construct($accessKey=null, $secretKey=null) { - parent::__construct($accessKey, $secretKey, $region); + parent::__construct($accessKey, $secretKey); $this->setEndpoint('http://'.self::S3_ENDPOINT); }