From d8eaae821722115f27e0d2fe4b3242b052a1e84c Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Fri, 8 Apr 2022 19:24:36 +0000 Subject: [PATCH] Extend contacts migrator Signed-off-by: Christopher Ng --- .../lib/UserMigration/ContactsMigrator.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/apps/dav/lib/UserMigration/ContactsMigrator.php b/apps/dav/lib/UserMigration/ContactsMigrator.php index 66395173b7a..cfdc20bfdf3 100644 --- a/apps/dav/lib/UserMigration/ContactsMigrator.php +++ b/apps/dav/lib/UserMigration/ContactsMigrator.php @@ -363,4 +363,25 @@ class ContactsMigrator implements IMigrator { } } } + + /** + * {@inheritDoc} + */ + public function getId(): string { + return 'contacts'; + } + + /** + * {@inheritDoc} + */ + public function getDisplayName(): string { + return $this->l10n->t('Contacts'); + } + + /** + * {@inheritDoc} + */ + public function getDescription(): string { + return $this->l10n->t('Contacts and groups'); + } } -- 2.39.5