From ac75a245974593aee5c05b3d63998339e2ea2929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bj=C3=B6rk?= Date: Wed, 9 Jul 2014 14:54:03 +0200 Subject: [PATCH] Converted an array to PHP5.3 compatible version --- apps/files_external/lib/amazons3.php | 4 ++-- 1 file 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(