mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-11 07:36:23 -07:00
Update spaces.php
This commit is contained in:
parent
2bc54c72fe
commit
74821d787d
1 changed files with 3 additions and 3 deletions
|
@ -150,7 +150,7 @@ class SpacesConnect {
|
|||
return $result;
|
||||
}
|
||||
|
||||
function downloadFile($fileName, $destinationPath = "") {
|
||||
function downloadFile($fileName, $destinationPath) {
|
||||
$result = $this->client->getObject(array(
|
||||
'Bucket' => $this->space,
|
||||
'Key' => $fileName,
|
||||
|
@ -189,7 +189,7 @@ class SpacesConnect {
|
|||
return $result;
|
||||
}
|
||||
|
||||
function listBucketACL() {
|
||||
function listSpaceACL() {
|
||||
$acl = $this->client->getBucketAcl([
|
||||
'Bucket' => $this->space,
|
||||
]);
|
||||
|
@ -197,7 +197,7 @@ class SpacesConnect {
|
|||
}
|
||||
|
||||
|
||||
function PutBucketACL($params) {
|
||||
function PutSpaceACL($params) {
|
||||
$acl = $s3Client->putBucketAcl($params);
|
||||
return $acl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue