summaryrefslogtreecommitdiffstats
path: root/lib/private/repair.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r--lib/private/repair.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php
index bf385af2c2b..533bf05b54c 100644
--- a/lib/private/repair.php
+++ b/lib/private/repair.php
@@ -43,6 +43,7 @@ use OC\Repair\RepairConfig;
use OC\Repair\RepairLegacyStorages;
use OC\Repair\RepairMimeTypes;
use OC\Repair\SearchLuceneTables;
+use OC\Repair\UpdateOutdatedOcsIds;
class Repair extends BasicEmitter {
/**
@@ -101,7 +102,7 @@ class Repair extends BasicEmitter {
* @return array of RepairStep instances
*/
public static function getRepairSteps() {
- return array(
+ return [
new RepairMimeTypes(),
new RepairLegacyStorages(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()),
new RepairConfig(),
@@ -111,7 +112,8 @@ class Repair extends BasicEmitter {
new DropOldTables(\OC::$server->getDatabaseConnection()),
new DropOldJobs(\OC::$server->getJobList()),
new RemoveGetETagEntries(\OC::$server->getDatabaseConnection()),
- );
+ new UpdateOutdatedOcsIds(\OC::$server->getConfig()),
+ ];
}
/**