Merge pull request #32811 from nextcloud/backport/32768/stable24

[stable24] perform onetime setup earlier to ensure wrappers are registered on time
This commit is contained in:
Vincent Petry 2022-06-10 14:45:36 +02:00 committed by GitHub
commit 8c71df2ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -403,6 +403,10 @@ class SetupManager {
return;
}
if (!$this->isSetupStarted($user)) {
$this->oneTimeUserSetup($user);
}
$mounts = [];
if (!in_array($cachedMount->getMountProvider(), $setupProviders)) {
$setupProviders[] = $cachedMount->getMountProvider();