summaryrefslogtreecommitdiffstats
path: root/lib/private/repair.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-25 14:09:38 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-23 10:51:37 +0200
commit0bda4d54c5b77b4ea2865fbcc27f8c86d9f20513 (patch)
tree60aa5b31a7fc8127423118b3a6c6ae825606ba50 /lib/private/repair.php
parent9fbd3fa6c14a59dc829a47cd334b9038777105b4 (diff)
downloadnextcloud-server-0bda4d54c5b77b4ea2865fbcc27f8c86d9f20513.tar.gz
nextcloud-server-0bda4d54c5b77b4ea2865fbcc27f8c86d9f20513.zip
Repair mime types only when upgrading from OC 8.0
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 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(),