Merge pull request #25158 from owncloud/removerootshares-delaygetrootfolder

Delay getRootFolder from RemoveRootShares repair step
This commit is contained in:
Vincent Petry 2016-06-17 15:57:09 +02:00 committed by GitHub
commit cab7106dfb
1 changed files with 1 additions and 1 deletions

View File

@ -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()),
];
}