Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps/dav
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-04-08 22:24:36 +0300
committerChristopher Ng <chrng8@gmail.com>2022-04-08 22:31:22 +0300
commitd8eaae821722115f27e0d2fe4b3242b052a1e84c (patch)
tree2a6f889c0f73109f5dfbd2708b9d98d05aa2fa91 /apps/dav
parent4750f232ebe353108c2547995cdbc656b784acae (diff)
Extend contacts migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/dav')
-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');
+ }
}