aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/AppInfo/Application.php
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-02-23 05:27:49 +0000
committerChristopher Ng <chrng8@gmail.com>2022-03-02 01:59:15 +0000
commit302a67f6853065122ef8648cdbdefc1504e8d350 (patch)
treede3c6e69c8859252ebc3127d7f0831611c3251d9 /apps/dav/lib/AppInfo/Application.php
parent4c3d68381b6bb1847a2b5b22dbfc61a83c529df6 (diff)
downloadnextcloud-server-302a67f6853065122ef8648cdbdefc1504e8d350.tar.gz
nextcloud-server-302a67f6853065122ef8648cdbdefc1504e8d350.zip
Integrate migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/dav/lib/AppInfo/Application.php')
-rw-r--r--apps/dav/lib/AppInfo/Application.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php
index 99521b61e8b..f29161d6976 100644
--- a/apps/dav/lib/AppInfo/Application.php
+++ b/apps/dav/lib/AppInfo/Application.php
@@ -80,6 +80,7 @@ use OCA\DAV\Listener\CardListener;
use OCA\DAV\Search\ContactsSearchProvider;
use OCA\DAV\Search\EventsSearchProvider;
use OCA\DAV\Search\TasksSearchProvider;
+use OCA\DAV\UserMigration\CalendarMigrator;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
@@ -165,6 +166,8 @@ class Application extends App implements IBootstrap {
$context->registerNotifierService(Notifier::class);
$context->registerCalendarProvider(CalendarProvider::class);
+
+ $context->registerUserMigrator(CalendarMigrator::class);
}
public function boot(IBootContext $context): void {