Converted an array to PHP5.3 compatible version

This commit is contained in:
Johan Björk 2014-07-09 14:54:03 +02:00
parent e44a7aa034
commit ac75a24597
1 changed files with 2 additions and 2 deletions

View File

@ -192,10 +192,10 @@ class AmazonS3 extends \OC\Files\Storage\Common {
// Since there are no real directories on S3, we need
// to delete all objects prefixed with the path.
$objects = $this->connection->listObjects([
$objects = $this->connection->listObjects(array(
'Bucket' => $this->bucket,
'Prefix' => $path . '/'
]);
));
try {
$result = $this->connection->deleteObjects(array(