diff options
author | Robin Appelman <robin@icewind.nl> | 2018-03-16 15:20:16 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-03-16 15:20:16 +0100 |
commit | 41954d29034cef1a6c9bf2f488d6517f32566678 (patch) | |
tree | 10c5c9f4a55bd998658637e176195ca6f643316d /lib/private/Files/ObjectStore/Swift.php | |
parent | af89db3407e599ea47d62a851759fa929cdd4713 (diff) | |
download | nextcloud-server-41954d29034cef1a6c9bf2f488d6517f32566678.tar.gz nextcloud-server-41954d29034cef1a6c9bf2f488d6517f32566678.zip |
verify cached swift token
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/ObjectStore/Swift.php')
-rw-r--r-- | lib/private/Files/ObjectStore/Swift.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index 4451fbcc750..18184bc94f4 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; } |