diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-04-08 19:29:23 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-04-08 19:31:22 +0000 |
commit | e08b8c47a2c265be4642d8116de7ec791b7a07d5 (patch) | |
tree | 6172dee15eafe6a2262b5f10d4f82c85feeed024 /apps/dav/lib/UserMigration | |
parent | d8eaae821722115f27e0d2fe4b3242b052a1e84c (diff) | |
download | nextcloud-server-e08b8c47a2c265be4642d8116de7ec791b7a07d5.tar.gz nextcloud-server-e08b8c47a2c265be4642d8116de7ec791b7a07d5.zip |
Extend calendar migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/dav/lib/UserMigration')
-rw-r--r-- | apps/dav/lib/UserMigration/CalendarMigrator.php | 21 |
1 files changed, 21 insertions, 0 deletions
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'); + } } |