diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-06-10 12:21:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 12:21:54 +0300 |
commit | 56b1453945e7052046031fdd210350b4aba940e0 (patch) | |
tree | bfd69b465393cb28544980d3d7515eb7b2e8d5fb | |
parent | fed85dc0637ec5faa5769d1998545338ef158ab0 (diff) | |
parent | a937ab03dd29d59081f9b10bbca13414affa9637 (diff) |
Merge pull request #32768 from nextcloud/fs-setup-onetime-earlier
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 629ed6f1bf0..876514b473c 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -399,6 +399,10 @@ class SetupManager { return; } + if (!$this->isSetupStarted($user)) { + $this->oneTimeUserSetup($user); + } + $mounts = []; if (!in_array($cachedMount->getMountProvider(), $setupProviders)) { $setupProviders[] = $cachedMount->getMountProvider(); |