diff options
author | Johan Björk <johanimon@gmail.com> | 2014-07-09 14:54:03 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-09-11 18:01:11 +0200 |
commit | f040529e6d4ad4212eccd37fcc67799fc36f3c32 (patch) | |
tree | 84f61f308e582f357f4d550857f33caf0bda8c4a /apps/files_external | |
parent | 5ac620cb0438416d511651e9f088e117405c97d8 (diff) | |
download | nextcloud-server-f040529e6d4ad4212eccd37fcc67799fc36f3c32.tar.gz nextcloud-server-f040529e6d4ad4212eccd37fcc67799fc36f3c32.zip |
Converted an array to PHP5.3 compatible version
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/amazons3.php | 4 |
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( |