perform onetime setup earlier to ensure wrappers are registered on time

this fixes an issue with wrappers like encryption not always being applied to mountpoint that create the storage object directly (such as external storage)

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2022-06-08 18:49:54 +02:00
parent de6b0dadbe
commit a937ab03dd
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

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();