Use getLazyRootFolder from RemoveRootShares repair step
This prevents the command registration to setup the FS too early when FS-related apps might need upgrading.
This commit is contained in:
parent
cc532bb14a
commit
73e284e1e1
|
@ -137,7 +137,7 @@ class Repair implements IOutput{
|
|||
new SharePropagation(\OC::$server->getConfig()),
|
||||
new RemoveOldShares(\OC::$server->getDatabaseConnection()),
|
||||
new AvatarPermissions(\OC::$server->getDatabaseConnection()),
|
||||
new RemoveRootShares(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager(), \OC::$server->getRootFolder()),
|
||||
new RemoveRootShares(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager(), \OC::$server->getLazyRootFolder()),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue