diff options
author | Robin Appelman <robin@icewind.nl> | 2022-02-01 13:49:43 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-02-09 16:01:24 +0100 |
commit | 1ab58eff0f0e07aafd97a88647c2c72313506e53 (patch) | |
tree | 11e0c89c343b931edf396b7493995d509d253180 /lib/private/legacy | |
parent | 0217949715ecbb45982967523c2b4bf9fb53375b (diff) | |
download | nextcloud-server-1ab58eff0f0e07aafd97a88647c2c72313506e53.tar.gz nextcloud-server-1ab58eff0f0e07aafd97a88647c2c72313506e53.zip |
pass user object during fs init
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_Util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index bf911d3a120..57b36983266 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -339,7 +339,7 @@ class OC_Util { $userDir = '/' . $userObject->getUID() . '/files'; //jail the user into his "home" directory - \OC\Files\Filesystem::init($userObject->getUID(), $userDir); + \OC\Files\Filesystem::init($userObject, $userDir); OC_Hook::emit('OC_Filesystem', 'setup', ['user' => $userObject->getUID(), 'user_dir' => $userDir]); } |