[Pkg-owncloud-commits] [owncloud] 57/273: fix objectstore test execution

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:12:57 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 f96a535f80594697061e6405b6243946acc68df1
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Thu Jun 26 11:30:00 2014 +0200

    fix objectstore test execution
---
 lib/private/files/objectstore/swift.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/objectstore/swift.php b/lib/private/files/objectstore/swift.php
index 71aae23..3378fd7 100644
--- a/lib/private/files/objectstore/swift.php
+++ b/lib/private/files/objectstore/swift.php
@@ -80,7 +80,7 @@ class Swift implements IObjectStore {
 			$this->container = $this->objectStoreService->getContainer($this->params['container']);
 		} catch (ClientErrorResponseException $ex) {
 			// if the container does not exist and autocreate is true try to create the container on the fly
-			if (isset($params['autocreate']) && $params['autocreate'] === true) {
+			if (isset($this->params['autocreate']) && $this->params['autocreate'] === true) {
 				$this->container = $this->objectStoreService->createContainer($this->params['container']);
 			} else {
 				throw $ex;

-- 
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