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:29:23 +0300
committerChristopher Ng <chrng8@gmail.com>2022-04-08 22:31:22 +0300
commite08b8c47a2c265be4642d8116de7ec791b7a07d5 (patch)
tree6172dee15eafe6a2262b5f10d4f82c85feeed024 /apps/dav
parentd8eaae821722115f27e0d2fe4b3242b052a1e84c (diff)
Extend calendar migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/UserMigration/CalendarMigrator.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/dav/lib/UserMigration/CalendarMigrator.php b/apps/dav/lib/UserMigration/CalendarMigrator.php
index 16b21314610..f560b4853b2 100644
--- a/apps/dav/lib/UserMigration/CalendarMigrator.php
+++ b/apps/dav/lib/UserMigration/CalendarMigrator.php
@@ -464,4 +464,25 @@ class CalendarMigrator implements IMigrator {
}
}
}
+
+ /**
+ * {@inheritDoc}
+ */
+ public function getId(): string {
+ return 'calendar';
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function getDisplayName(): string {
+ return $this->l10n->t('Calendar');
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function getDescription(): string {
+ return $this->l10n->t('Calendars including events, details, and attendees');
+ }
}