aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/Swift.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/ObjectStore/Swift.php')
-rw-r--r--lib/private/Files/ObjectStore/Swift.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php
index f22e147445b..6bb01506c4c 100644
--- a/lib/private/Files/ObjectStore/Swift.php
+++ b/lib/private/Files/ObjectStore/Swift.php
@@ -36,16 +36,15 @@ class Swift implements IObjectStore {
*/
private $params;
- /**
- * @var \OpenStack\ObjectStore\v1\Models\Container|null
- */
- private $container = null;
-
/** @var SwiftFactory */
private $swiftFactory;
public function __construct($params, SwiftFactory $connectionFactory = null) {
- $this->swiftFactory = $connectionFactory ?: new SwiftFactory(\OC::$server->getMemCacheFactory()->createDistributed('swift::'), $params);
+ $this->swiftFactory = $connectionFactory ?: new SwiftFactory(
+ \OC::$server->getMemCacheFactory()->createDistributed('swift::'),
+ $params,
+ \OC::$server->getLogger()
+ );
$this->params = $params;
}