From: Christopher Ng Date: Fri, 8 Apr 2022 19:24:36 +0000 (+0000) Subject: Extend contacts migrator X-Git-Tag: v24.0.0rc1~33^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d8eaae821722115f27e0d2fe4b3242b052a1e84c;p=nextcloud-server.git Extend contacts migrator Signed-off-by: Christopher Ng --- 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'); + } }