summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-04-08 19:24:36 +0000
committerChristopher Ng <chrng8@gmail.com>2022-04-08 19:31:22 +0000
commitd8eaae821722115f27e0d2fe4b3242b052a1e84c (patch)
tree2a6f889c0f73109f5dfbd2708b9d98d05aa2fa91
parent4750f232ebe353108c2547995cdbc656b784acae (diff)
downloadnextcloud-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.php21
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');
+ }
}