Merge pull request #290 from radiorabe/fix/legacy_constructors
Update legacy constructors
This commit is contained in:
commit
a3a00d77aa
|
@ -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']);
|
||||
|
|
|
@ -2,11 +2,6 @@
|
|||
|
||||
class FileStorageBackend extends StorageBackend
|
||||
{
|
||||
//Stub class
|
||||
public function FileStorageBackend()
|
||||
{
|
||||
}
|
||||
|
||||
public function getAbsoluteFilePath($resourceId)
|
||||
{
|
||||
//TODO
|
||||
|
@ -32,4 +27,4 @@ class FileStorageBackend extends StorageBackend
|
|||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ class ProxyStorageBackend extends StorageBackend
|
|||
* Receives the file's storage backend and instantiates the appropriate
|
||||
* object.
|
||||
*/
|
||||
public function ProxyStorageBackend($storageBackend)
|
||||
public function __construct($storageBackend)
|
||||
{
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
|
||||
|
|
Loading…
Reference in New Issue