aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-06-17 17:10:25 +0200
committerRobin Appelman <robin@icewind.nl>2024-06-17 17:10:25 +0200
commitd9b37ac5fa11afd519fadf3bb2f9a81f74cf7e4d (patch)
tree1f644573bfe457daa92ab92b19f0879391c9dfde /lib/private/Repair.php
parent642cffd4ddeab35eb8c8fe00c4bea5dea33409e6 (diff)
downloadnextcloud-server-d9b37ac5fa11afd519fadf3bb2f9a81f74cf7e4d.tar.gz
nextcloud-server-d9b37ac5fa11afd519fadf3bb2f9a81f74cf7e4d.zip
fix: move repair mimetype repair step to the expensive steps
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index b265d5767ea..04de9c5702d 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -147,7 +147,6 @@ class Repair implements IOutput {
public static function getRepairSteps(): array {
return [
new Collation(\OC::$server->getConfig(), \OC::$server->get(LoggerInterface::class), \OC::$server->getDatabaseConnection(), false),
- new RepairMimeTypes(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()),
new CleanTags(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager()),
new RepairInvalidShares(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()),
new MoveUpdaterStepFile(\OC::$server->getConfig()),
@@ -198,6 +197,7 @@ class Repair implements IOutput {
public static function getExpensiveRepairSteps() {
return [
new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager()),
+ new RepairMimeTypes(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()),
\OC::$server->get(ValidatePhoneNumber::class),
\OC::$server->get(DeleteSchedulingObjects::class),
];