fix: also use authoritative mount info for setupForProvider

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/57578/head
Robin Appelman 7 months ago
parent f5d7a44dca
commit 7064ff035f
  1. 9
      lib/private/Files/SetupManager.php

@ -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…
Cancel
Save