summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-06-20 16:31:52 +0200
committerRobin Appelman <robin@icewind.nl>2017-06-21 15:52:27 +0200
commitd3c20eefca1e8be222022f09384d629f7933c561 (patch)
tree72deac57eeab5837b9198a06bb119f4897ee4f27 /lib/private/Repair.php
parentfa817599170e81b0eb28cb59446c32f0b5645f03 (diff)
downloadnextcloud-server-d3c20eefca1e8be222022f09384d629f7933c561.tar.gz
nextcloud-server-d3c20eefca1e8be222022f09384d629f7933c561.zip
Add repair step for invalid paths
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 4d14bf2550c..ca8dbd98758 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -42,6 +42,7 @@ use OC\Repair\NC12\UpdateLanguageCodes;
use OC\Repair\OldGroupMembershipShares;
use OC\Repair\Owncloud\SaveAccountsTableData;
use OC\Repair\RemoveRootShares;
+use OC\Repair\RepairInvalidPaths;
use OC\Repair\SqliteAutoincrement;
use OC\Repair\RepairMimeTypes;
use OC\Repair\RepairInvalidShares;
@@ -143,7 +144,8 @@ class Repair implements IOutput{
\OC::$server->query(BundleFetcher::class),
\OC::$server->getConfig(),
\OC::$server->query(Installer::class)
- )
+ ),
+ new RepairInvalidPaths(\OC::$server->getDatabaseConnection())
];
}
@@ -155,7 +157,7 @@ class Repair implements IOutput{
*/
public static function getExpensiveRepairSteps() {
return [
- new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager()),
+ new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager())
];
}