Skip to content

Commit

Permalink
add missing changes from backport source
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Feb 17, 2021
1 parent 7c449cd commit ca7a7a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/private/Repair.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ public static function getRepairSteps() {
\OC::$server->query(EncryptionLegacyCipher::class),
\OC::$server->query(EncryptionMigration::class),
\OC::$server->get(ShippedDashboardEnable::class),
\OC::$server->get(RepairDavShares::class)
];
}

Expand Down Expand Up @@ -211,7 +212,7 @@ public static function getBeforeUpgradeRepairSteps() {
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;
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Repair/RepairDavSharesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function testRun() {
['updatedPrincipalUri', 'principals/groups/' . urlencode('family friends')],
['shareId', 7],
['updatedPrincipalUri', 'principals/groups/' . urlencode('Wants Repair')],
['shareId', 1],
['shareId', 1]
)
->willReturnSelf();
$updateMock->expects($this->exactly(2))
Expand Down

0 comments on commit ca7a7a5

Please sign in to comment.