mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
fix: also use authoritative mount info for setupForProvider
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
f5d7a44dca
commit
7064ff035f
1 changed files with 7 additions and 2 deletions
|
|
@ -687,8 +687,13 @@ class SetupManager implements ISetupManager {
|
|||
}
|
||||
|
||||
if (!$providersAreAuthoritative && $this->fullSetupRequired($user)) {
|
||||
$this->setupForUser($user);
|
||||
return;
|
||||
if ($this->optimizeAuthoritativeProviders) {
|
||||
$this->updateNonAuthoritativeProviders($user);
|
||||
$this->markUserMountsCached($user);
|
||||
} else {
|
||||
$this->setupForUser($user);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
$this->eventLogger->start('fs:setup:user:providers', 'Setup filesystem for ' . implode(', ', $providers));
|
||||
|
|
|
|||
Loading…
Reference in a new issue