[Pkg-owncloud-commits] [owncloud] 67/258: Converted an array to PHP5.3 compatible version

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit f040529e6d4ad4212eccd37fcc67799fc36f3c32
Author: Johan Björk <johanimon at gmail.com>
Date:   Wed Jul 9 14:54:03 2014 +0200

    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 5d9c4d8..60d2677 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(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list