diff options
author | Robin Appelman <robin@icewind.nl> | 2022-04-08 15:05:43 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-04-08 15:05:43 +0200 |
commit | 54e52e9b5e569942f9daa7f00876006e90736a61 (patch) | |
tree | db6cfccfefd72d23a623b848af659c7265fcd50c /lib/private/Files/SetupManager.php | |
parent | bdc86e9486ca966ace85648d1f8f56198ddd0253 (diff) | |
download | nextcloud-server-54e52e9b5e569942f9daa7f00876006e90736a61.tar.gz nextcloud-server-54e52e9b5e569942f9daa7f00876006e90736a61.zip |
always do full setup for home folder with submounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/SetupManager.php')
-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; } |