]> source.dussan.org Git - nextcloud-server.git/commitdiff
Extend calendar migrator 31911/head
authorChristopher Ng <chrng8@gmail.com>
Fri, 8 Apr 2022 19:29:23 +0000 (19:29 +0000)
committerChristopher Ng <chrng8@gmail.com>
Fri, 8 Apr 2022 19:31:22 +0000 (19:31 +0000)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
apps/dav/lib/UserMigration/CalendarMigrator.php

index 16b213146106f6313cd79a4f1846e6460340cfb0..f560b4853b2b9a4ac90a6e053832ab6465162fe4 100644 (file)
@@ -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');
+       }
 }