]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix objectstore test execution
authorJörn Friedrich Dreyer <jfd@butonic.de>
Thu, 26 Jun 2014 09:30:00 +0000 (11:30 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Thu, 26 Jun 2014 09:30:00 +0000 (11:30 +0200)
lib/private/files/objectstore/swift.php

index 71aae23bb5a30f3e6aa5dd0e25beee3e4a0e2a07..3378fd7b86faa66712b456d19127c5b90a49e2a3 100644 (file)
@@ -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;