]> source.dussan.org Git - nextcloud-server.git/commitdiff
Extend contacts migrator
authorChristopher Ng <chrng8@gmail.com>
Fri, 8 Apr 2022 19:24:36 +0000 (19:24 +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/ContactsMigrator.php

index 66395173b7a1db2e4753900d3e195984f8afce25..cfdc20bfdf35533711d3484c1ff6fdb9a24211ee 100644 (file)
@@ -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');
+       }
 }