diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-04-15 21:19:32 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-04-16 15:42:21 +0200 |
commit | 24d6a28f809278c7f31223ff656cd6b1c83a57ff (patch) | |
tree | 8f7d97c410a2c0d22be94ac8039f6995a17938c9 /lib/private/Repair.php | |
parent | 4c43e89dfd8f79b6eedf23ff163f90fe4ef01a4c (diff) | |
download | nextcloud-server-24d6a28f809278c7f31223ff656cd6b1c83a57ff.tar.gz nextcloud-server-24d6a28f809278c7f31223ff656cd6b1c83a57ff.zip |
Repair step for link shares
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r-- | lib/private/Repair.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php index e4eb4cfcc16..d27e6b812b3 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -48,6 +48,7 @@ use OC\Repair\NC16\CleanupCardDAVPhotoCache; use OC\Repair\OldGroupMembershipShares; use OC\Repair\Owncloud\DropAccountTermsTable; use OC\Repair\Owncloud\SaveAccountsTableData; +use OC\Repair\RemoveLinkShares; use OC\Repair\RemoveRootShares; use OC\Repair\RepairInvalidShares; use OC\Repair\RepairMimeTypes; @@ -55,6 +56,7 @@ use OC\Repair\SqliteAutoincrement; use OC\Template\JSCombiner; use OC\Template\SCSSCacher; use OCP\AppFramework\QueryException; +use OCP\AppFramework\Utility\ITimeFactory; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; use Symfony\Component\EventDispatcher\EventDispatcherInterface; @@ -152,6 +154,7 @@ class Repair implements IOutput { new SetVcardDatabaseUID(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig(), \OC::$server->getLogger()), new CleanupCardDAVPhotoCache(\OC::$server->getConfig(), \OC::$server->getAppDataDir('dav-photocache'), \OC::$server->getLogger()), new AddClenupLoginFlowV2BackgroundJob(\OC::$server->getJobList()), + new RemoveLinkShares(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig(), \OC::$server->getGroupManager(), \OC::$server->getNotificationManager(), \OC::$server->query(ITimeFactory::class)), ]; } |