Merge pull request #25158 from owncloud/removerootshares-delaygetrootfolder
Delay getRootFolder from RemoveRootShares repair step
This commit is contained in:
commit
cab7106dfb
|
@ -137,7 +137,7 @@ class Repair implements IOutput{
|
||||||
new SharePropagation(\OC::$server->getConfig()),
|
new SharePropagation(\OC::$server->getConfig()),
|
||||||
new RemoveOldShares(\OC::$server->getDatabaseConnection()),
|
new RemoveOldShares(\OC::$server->getDatabaseConnection()),
|
||||||
new AvatarPermissions(\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