add missing changes from backport source
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
1dca63ea99
commit
8f499b9c8a
|
@ -157,6 +157,7 @@ class Repair implements IOutput {
|
|||
new RemoveLinkShares(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig(), \OC::$server->getGroupManager(), \OC::$server->getNotificationManager(), \OC::$server->query(ITimeFactory::class)),
|
||||
new ClearCollectionsAccessCache(\OC::$server->getConfig(), \OC::$server->query(IManager::class)),
|
||||
\OC::$server->query(ResetGeneratedAvatarFlag::class),
|
||||
\OC::$server->get(RepairDavShares::class)
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -185,7 +186,7 @@ class Repair implements IOutput {
|
|||
new Collation(\OC::$server->getConfig(), \OC::$server->getLogger(), $connection, true),
|
||||
new SqliteAutoincrement($connection),
|
||||
new SaveAccountsTableData($connection, $config),
|
||||
new DropAccountTermsTable($connection)
|
||||
new DropAccountTermsTable($connection),
|
||||
];
|
||||
|
||||
return $steps;
|
||||
|
|
|
@ -175,7 +175,7 @@ class RepairDavSharesTest extends TestCase {
|
|||
['updatedPrincipalUri', 'principals/groups/' . urlencode('family friends')],
|
||||
['shareId', 7],
|
||||
['updatedPrincipalUri', 'principals/groups/' . urlencode('Wants Repair')],
|
||||
['shareId', 1],
|
||||
['shareId', 1]
|
||||
)
|
||||
->willReturnSelf();
|
||||
$updateMock->expects($this->exactly(2))
|
||||
|
|
Loading…
Reference in New Issue