diff options
author | Robin Appelman <robin@icewind.nl> | 2024-06-17 17:10:25 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-06-21 11:33:23 +0200 |
commit | cea49e089897d2b671aaf5b1f7dbabb56c3c9925 (patch) | |
tree | 251f5e0855a3fd96f1e1894a38f87c53c3f6b991 | |
parent | 8271b2258ee10aec00dc691ecb14c825f527d1c1 (diff) | |
download | nextcloud-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.php | 2 |
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), ]; |