summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-06-08 11:52:56 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-06-09 15:48:45 +0200
commit7d51fd0310ef74ae9db7358e524b8a679ef2df39 (patch)
tree4673caddf79c751a9829a4802a5c972313727291 /lib/private/Repair.php
parent4c26abe228bedb0ebb0ffa5a6f5f399e16871880 (diff)
downloadnextcloud-server-7d51fd0310ef74ae9db7358e524b8a679ef2df39.tar.gz
nextcloud-server-7d51fd0310ef74ae9db7358e524b8a679ef2df39.zip
Add repair step to clean old calendar/contact shares
fixes #21889
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index 4869db77497..710bbbbaedf 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -34,6 +34,7 @@ use OC\Repair\Collation;
use OC\Repair\DropOldJobs;
use OC\Repair\OldGroupMembershipShares;
use OC\Repair\RemoveGetETagEntries;
+use OC\Repair\RemoveOldShares;
use OC\Repair\SharePropagation;
use OC\Repair\SqliteAutoincrement;
use OC\Repair\DropOldTables;
@@ -132,6 +133,7 @@ class Repair implements IOutput{
new UpdateOutdatedOcsIds(\OC::$server->getConfig()),
new RepairInvalidShares(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()),
new SharePropagation(\OC::$server->getConfig()),
+ new RemoveOldShares(\OC::$server->getDatabaseConnection()),
];
}