diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-06-10 11:21:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 11:21:54 +0200 |
commit | 56b1453945e7052046031fdd210350b4aba940e0 (patch) | |
tree | bfd69b465393cb28544980d3d7515eb7b2e8d5fb /lib | |
parent | fed85dc0637ec5faa5769d1998545338ef158ab0 (diff) | |
parent | a937ab03dd29d59081f9b10bbca13414affa9637 (diff) | |
download | nextcloud-server-56b1453945e7052046031fdd210350b4aba940e0.tar.gz nextcloud-server-56b1453945e7052046031fdd210350b4aba940e0.zip |
Merge pull request #32768 from nextcloud/fs-setup-onetime-earlier
perform onetime setup earlier to ensure wrappers are registered on time
Diffstat (limited to 'lib')
-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(); |