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 /apps | |
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 'apps')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/Swift.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/Swift.php b/apps/files_external/lib/Lib/Storage/Swift.php index a638169dcb2..f72aa076d27 100644 --- a/apps/files_external/lib/Lib/Storage/Swift.php +++ b/apps/files_external/lib/Lib/Storage/Swift.php @@ -194,7 +194,11 @@ class Swift extends \OC\Files\Storage\Common { $this->params = $params; // FIXME: private class... $this->objectCache = new \OC\Cache\CappedMemoryCache(); - $this->connectionFactory = new SwiftFactory(\OC::$server->getMemCacheFactory()->createDistributed('swift/'), $this->params); + $this->connectionFactory = new SwiftFactory( + \OC::$server->getMemCacheFactory()->createDistributed('swift/'), + $this->params, + \OC::$server->getLogger() + ); $this->objectStore = new \OC\Files\ObjectStore\Swift($this->params, $this->connectionFactory); $this->bucket = $params['bucket']; } |