diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-07-12 13:38:49 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-03 10:16:28 +0200 |
commit | 67fa6bf9bce6d237684ebd3f60625ff98abc71c0 (patch) | |
tree | b83d18579d72a5f51387e5621774baf5bbba4b0a /lib/private/Repair.php | |
parent | 714d7ec9368c7afc2a73cc49ba1342413ba9d90d (diff) | |
download | nextcloud-server-67fa6bf9bce6d237684ebd3f60625ff98abc71c0.tar.gz nextcloud-server-67fa6bf9bce6d237684ebd3f60625ff98abc71c0.zip |
Add repair step for unmerged shares (WIP)
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 6c1eef5b9f6..cd23f5cb806 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -49,6 +49,7 @@ use OC\Repair\RepairMimeTypes; use OC\Repair\SearchLuceneTables; use OC\Repair\UpdateOutdatedOcsIds; use OC\Repair\RepairInvalidShares; +use OC\Repair\RepairUnmergedShares; use OCP\AppFramework\QueryException; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; @@ -140,6 +141,12 @@ class Repair implements IOutput{ new RemoveOldShares(\OC::$server->getDatabaseConnection()), new AvatarPermissions(\OC::$server->getDatabaseConnection()), new RemoveRootShares(\OC::$server->getDatabaseConnection(), \OC::$server->getUserManager(), \OC::$server->getLazyRootFolder()), + new RepairUnmergedShares( + \OC::$server->getConfig(), + \OC::$server->getDatabaseConnection(), + \OC::$server->getUserManager(), + \OC::$server->getGroupManager() + ), ]; } |