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:
Vincent Petry 2016-06-17 10:53:55 +02:00
parent cc532bb14a
commit 73e284e1e1
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
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()),
];
}