mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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:
parent
de6b0dadbe
commit
a937ab03dd
1 changed files with 4 additions and 0 deletions
|
|
@ -403,6 +403,10 @@ class SetupManager {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!$this->isSetupStarted($user)) {
|
||||
$this->oneTimeUserSetup($user);
|
||||
}
|
||||
|
||||
$mounts = [];
|
||||
if (!in_array($cachedMount->getMountProvider(), $setupProviders)) {
|
||||
$setupProviders[] = $cachedMount->getMountProvider();
|
||||
|
|
|
|||
Loading…
Reference in a new issue