diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-06-10 15:45:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 15:45:36 +0300 |
commit | 8c71df2ef2b3a7563a59a7c8f9d9475a6069bb9f (patch) | |
tree | d689191347105eef691be60ee8b490a855bf3fc7 | |
parent | 5b9ec0591279d1af45825fcc6dede917f8abf805 (diff) | |
parent | 787b10ba2f84962163f558fa6b38e5e05e28abf8 (diff) |
Merge pull request #32811 from nextcloud/backport/32768/stable24
[stable24] perform onetime setup earlier to ensure wrappers are registered on time
-rw-r--r-- | lib/private/Files/SetupManager.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php index 9fb7b030e1d..2390e3be9c9 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -403,6 +403,10 @@ class SetupManager { return; } + if (!$this->isSetupStarted($user)) { + $this->oneTimeUserSetup($user); + } + $mounts = []; if (!in_array($cachedMount->getMountProvider(), $setupProviders)) { $setupProviders[] = $cachedMount->getMountProvider(); |