summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Mount/ObjectHomeMountProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Mount/ObjectHomeMountProvider.php')
-rw-r--r--lib/private/Files/Mount/ObjectHomeMountProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Mount/ObjectHomeMountProvider.php b/lib/private/Files/Mount/ObjectHomeMountProvider.php
index 441f7a2957e..972d3893e66 100644
--- a/lib/private/Files/Mount/ObjectHomeMountProvider.php
+++ b/lib/private/Files/Mount/ObjectHomeMountProvider.php
@@ -121,7 +121,7 @@ class ObjectHomeMountProvider implements IHomeMountProvider {
if (!isset($config['arguments']['bucket'])) {
$config['arguments']['bucket'] = '';
}
- $mapper = new \OC\Files\ObjectStore\Mapper($user);
+ $mapper = new \OC\Files\ObjectStore\Mapper($user, $this->config);
$numBuckets = isset($config['arguments']['num_buckets']) ? $config['arguments']['num_buckets'] : 64;
$config['arguments']['bucket'] .= $mapper->getBucket($numBuckets);