mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -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
3a3c3b5e1d
commit
787b10ba2f
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