summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2023-04-14 14:39:23 +0200
committerAnna Larch <anna@nextcloud.com>2023-04-14 14:39:23 +0200
commit45d2b6fc2650902e41fc4adae3dc0b3c1c564ca7 (patch)
treed74b5616a00009b729de228b0ca4bc780ca3c431
parent3e9a9491a301d91d4f42123d5efe3f138631241c (diff)
fixup! feat(dav): expose system address book
-rw-r--r--lib/Controller/PageController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index ed418391..10340848 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -115,7 +115,7 @@ class PageController extends Controller {
$this->initialStateService->provideInitialState(Application::APP_ID, 'defaultProfile', $defaultProfile);
$this->initialStateService->provideInitialState(Application::APP_ID, 'supportedNetworks', $supportedNetworks);
$this->initialStateService->provideInitialState(Application::APP_ID, 'allowSocialSync', $syncAllowedByAdmin);
- $this->initialStateService->provideInitialState(Application::APP_ID, 'allowSystemAddressBook', $allowSystemAddressBook);
+ $this->initialStateService->provideInitialState('dav', 'allowSystemAddressBook', $allowSystemAddressBook);
$this->initialStateService->provideInitialState(Application::APP_ID, 'enableSocialSync', $bgSyncEnabledByUser);
$this->initialStateService->provideInitialState(Application::APP_ID, 'isContactsInteractionEnabled', $isContactsInteractionEnabled);
$this->initialStateService->provideInitialState(Application::APP_ID, 'isCirclesEnabled', $isCirclesEnabled && $isCircleVersionCompatible);