diff options
Diffstat (limited to 'apps/dav/lib/AppInfo/Application.php')
-rw-r--r-- | apps/dav/lib/AppInfo/Application.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php index b38f38044f3..a5571286354 100644 --- a/apps/dav/lib/AppInfo/Application.php +++ b/apps/dav/lib/AppInfo/Application.php @@ -76,6 +76,16 @@ class Application extends App { } /** + * @param IManager $contactsManager + */ + public function setupSystemContactsProvider(IContactsManager $contactsManager) { + /** @var ContactsManager $cm */ + $cm = $this->getContainer()->query(ContactsManager::class); + $urlGenerator = $this->getContainer()->getServer()->getURLGenerator(); + $cm->setupSystemContactsProvider($contactsManager, $urlGenerator); + } + + /** * @param ICalendarManager $calendarManager * @param string $userId */ |