aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-06-17 17:10:25 +0200
committerRobin Appelman <robin@icewind.nl>2024-06-21 11:33:23 +0200
commitcea49e089897d2b671aaf5b1f7dbabb56c3c9925 (patch)
tree251f5e0855a3fd96f1e1894a38f87c53c3f6b991
parent8271b2258ee10aec00dc691ecb14c825f527d1c1 (diff)
downloadnextcloud-server-cea49e089897d2b671aaf5b1f7dbabb56c3c9925.tar.gz
nextcloud-server-cea49e089897d2b671aaf5b1f7dbabb56c3c9925.zip
fix: move repair mimetype repair step to the expensive steps
Signed-off-by: Robin Appelman <robin@icewind.nl>
-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 6593e092914..fa06274ed3c 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -176,7 +176,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()),
@@ -226,6 +225,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),
];