From: Robin Appelman Date: Fri, 8 Apr 2022 13:05:43 +0000 (+0200) Subject: always do full setup for home folder with submounts X-Git-Tag: v24.0.0rc1~46^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=54e52e9b5e569942f9daa7f00876006e90736a61;p=nextcloud-server.git always do full setup for home folder with submounts Signed-off-by: Robin Appelman --- 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; }