From 0bda4d54c5b77b4ea2865fbcc27f8c86d9f20513 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 25 Aug 2015 14:09:38 +0200 Subject: Repair mime types only when upgrading from OC 8.0 --- lib/private/repair.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/repair.php') diff --git a/lib/private/repair.php b/lib/private/repair.php index 533bf05b54c..3639440a518 100644 --- a/lib/private/repair.php +++ b/lib/private/repair.php @@ -103,7 +103,7 @@ class Repair extends BasicEmitter { */ public static function getRepairSteps() { return [ - new RepairMimeTypes(), + new RepairMimeTypes(\OC::$server->getConfig()), new RepairLegacyStorages(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()), new RepairConfig(), new AssetCache(), -- cgit v1.2.3