diff options
author | Vlastimil Pecinka <pecinka@email.cz> | 2019-02-06 13:36:08 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-03-26 19:40:31 +0300 |
commit | 73dbc29f216a4ff8cbd3e13993b42798f6a2ff16 (patch) | |
tree | 61cd4e480c1afc00806f64b6f77992e095dcd300 /lib | |
parent | 0b4c90dfa1afc0d7f89568c2d1795c3ab1cb5856 (diff) |
Store user object later in the code
Signed-off-by: Vlastimil Pecinka <pecinka@email.cz>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Mount/ObjectHomeMountProvider.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Mount/ObjectHomeMountProvider.php b/lib/private/Files/Mount/ObjectHomeMountProvider.php index 62669020884..009aadf30a9 100644 --- a/lib/private/Files/Mount/ObjectHomeMountProvider.php +++ b/lib/private/Files/Mount/ObjectHomeMountProvider.php @@ -110,7 +110,6 @@ class ObjectHomeMountProvider implements IHomeMountProvider { if (!isset($config['arguments'])) { $config['arguments'] = []; } - $config['arguments']['user'] = $user; $bucket = $this->config->getUserValue($user->getUID(), 'homeobjectstore', 'bucket', null); @@ -134,6 +133,8 @@ class ObjectHomeMountProvider implements IHomeMountProvider { // instantiate object store implementation $config['arguments']['objectstore'] = new $config['class']($config['arguments']); + $config['arguments']['user'] = $user; + return $config; } } |