diff options
author | Robin Appelman <robin@icewind.nl> | 2022-04-08 16:05:43 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-04-08 16:05:43 +0300 |
commit | 54e52e9b5e569942f9daa7f00876006e90736a61 (patch) | |
tree | db6cfccfefd72d23a623b848af659c7265fcd50c /lib | |
parent | bdc86e9486ca966ace85648d1f8f56198ddd0253 (diff) |
always do full setup for home folder with submounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/SetupManager.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php index 204d057a240..e0575ea92a5 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -368,8 +368,12 @@ class SetupManager { } // for the user's home folder, it's always the home mount - if (rtrim($path) === "/" . $user->getUID() . "/files" && !$includeChildren) { - $this->oneTimeUserSetup($user); + if (rtrim($path) === "/" . $user->getUID() . "/files") { + if ($includeChildren) { + $this->setupForUser($user); + } else { + $this->oneTimeUserSetup($user); + } return; } |