From e08b8c47a2c265be4642d8116de7ec791b7a07d5 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Fri, 8 Apr 2022 19:29:23 +0000 Subject: [PATCH] Extend calendar migrator Signed-off-by: Christopher Ng --- .../lib/UserMigration/CalendarMigrator.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/apps/dav/lib/UserMigration/CalendarMigrator.php b/apps/dav/lib/UserMigration/CalendarMigrator.php index 16b21314610..f560b4853b2 100644 --- a/apps/dav/lib/UserMigration/CalendarMigrator.php +++ b/apps/dav/lib/UserMigration/CalendarMigrator.php @@ -464,4 +464,25 @@ class CalendarMigrator implements IMigrator { } } } + + /** + * {@inheritDoc} + */ + public function getId(): string { + return 'calendar'; + } + + /** + * {@inheritDoc} + */ + public function getDisplayName(): string { + return $this->l10n->t('Calendar'); + } + + /** + * {@inheritDoc} + */ + public function getDescription(): string { + return $this->l10n->t('Calendars including events, details, and attendees'); + } } -- 2.39.5