summaryrefslogtreecommitdiffstats
path: root/lib/private/repair.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-25 12:52:32 +0100
committerVincent Petry <pvince81@owncloud.com>2014-08-20 23:14:05 +0200
commit068f9d10f1fec99cebf2ec29de2a09b4b34362b5 (patch)
treef1d2bc74607daa8405d4ced6f038d044022ca514 /lib/private/repair.php
parent36c88e28307da569fea7a86d18ad559aa0b3f868 (diff)
downloadnextcloud-server-068f9d10f1fec99cebf2ec29de2a09b4b34362b5.tar.gz
nextcloud-server-068f9d10f1fec99cebf2ec29de2a09b4b34362b5.zip
Added repair step for legacy storages
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r--lib/private/repair.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php
index e6943c5d057..46b5ae46399 100644
--- a/lib/private/repair.php
+++ b/lib/private/repair.php
@@ -69,7 +69,8 @@ class Repair extends BasicEmitter {
*/
public static function getRepairSteps() {
return array(
- new \OC\Repair\RepairMimeTypes()
+ new \OC\Repair\RepairMimeTypes(),
+ new \OC\Repair\RepairLegacyStorages(\OC::$server->getConfig(), \OC_DB::getConnection()),
);
}