summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/amazons3.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 5d9c4d858c6..60d2677ddda 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -193,10 +193,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(