aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-06-10 11:21:54 +0200
committerGitHub <noreply@github.com>2022-06-10 11:21:54 +0200
commit56b1453945e7052046031fdd210350b4aba940e0 (patch)
treebfd69b465393cb28544980d3d7515eb7b2e8d5fb /lib
parentfed85dc0637ec5faa5769d1998545338ef158ab0 (diff)
parenta937ab03dd29d59081f9b10bbca13414affa9637 (diff)
downloadnextcloud-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.php4
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();