diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-04-08 19:24:36 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-04-08 19:31:22 +0000 |
commit | d8eaae821722115f27e0d2fe4b3242b052a1e84c (patch) | |
tree | 2a6f889c0f73109f5dfbd2708b9d98d05aa2fa91 | |
parent | 4750f232ebe353108c2547995cdbc656b784acae (diff) | |
download | nextcloud-server-d8eaae821722115f27e0d2fe4b3242b052a1e84c.tar.gz nextcloud-server-d8eaae821722115f27e0d2fe4b3242b052a1e84c.zip |
Extend contacts migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r-- | apps/dav/lib/UserMigration/ContactsMigrator.php | 21 |
1 files changed, 21 insertions, 0 deletions
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'); + } } |