aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-05-08 20:38:51 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-06-03 11:10:03 +0000
commitec94f5499ca6a3412c32568c930a0a7f17f4bc5b (patch)
treece7a5dc5bb7d154d9f1484f898f1502ae4ca0fa8 /lib/private/Repair.php
parent806e390d14123f0bdf9e805bd55553339a0b5d3b (diff)
downloadnextcloud-server-ec94f5499ca6a3412c32568c930a0a7f17f4bc5b.tar.gz
nextcloud-server-ec94f5499ca6a3412c32568c930a0a7f17f4bc5b.zip
fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
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 b1800d6087d..4a9cac9ff7d 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -81,6 +81,7 @@ use OC\Repair\RepairDavShares;
use OC\Repair\RepairInvalidShares;
use OC\Repair\RepairMimeTypes;
use OC\Template\JSCombiner;
+use OCA\DAV\Migration\DeleteSchedulingObjects;
use OCP\AppFramework\QueryException;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Collaboration\Resources\IManager;
@@ -224,6 +225,7 @@ class Repair implements IOutput {
return [
new OldGroupMembershipShares(\OC::$server->getDatabaseConnection(), \OC::$server->getGroupManager()),
\OC::$server->get(ValidatePhoneNumber::class),
+ \OC::$server->get(DeleteSchedulingObjects::class),
];
}