summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Björk <johanimon@gmail.com>2014-07-09 14:54:03 +0200
committerJohan Björk <johanimon@gmail.com>2014-07-09 14:54:03 +0200
commitac75a245974593aee5c05b3d63998339e2ea2929 (patch)
tree1ef14d96ad39890c50d57792625f543085eec14a
parente44a7aa034c0340254c3e5d68c1e949d106d4f46 (diff)
downloadnextcloud-server-ac75a245974593aee5c05b3d63998339e2ea2929.tar.gz
nextcloud-server-ac75a245974593aee5c05b3d63998339e2ea2929.zip
Converted an array to PHP5.3 compatible version
-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 909d3f6b8ef..3b0ae5bbe0d 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -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(