Fix legacy constructors
These go way back to php 4 and don't need to be like this for any reason. Currently error handling is acting up when these throw an error.
This commit is contained in:
parent
58875a2187
commit
440e8ce8c9
3 changed files with 3 additions and 8 deletions
|
@ -8,7 +8,7 @@ class Amazon_S3StorageBackend extends StorageBackend
|
|||
private $s3Client;
|
||||
private $proxyHost;
|
||||
|
||||
public function Amazon_S3StorageBackend($securityCredentials)
|
||||
public function __construct($securityCredentials)
|
||||
{
|
||||
$this->setBucket($securityCredentials['bucket']);
|
||||
$this->setAccessKey($securityCredentials['api_key']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue