summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2023-04-14 14:41:14 +0200
committerAnna Larch <anna@nextcloud.com>2023-04-14 14:41:14 +0200
commit521de68935c037525b3cfc8b5249922d9882e523 (patch)
tree8dc751e61fd573ff821f20a6485af4b087d3a088
parent45d2b6fc2650902e41fc4adae3dc0b3c1c564ca7 (diff)
fixup! feat(dav): expose system address bookenh/expose-system-address-book
-rw-r--r--lib/Controller/PageController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index 10340848..d301928c 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -99,8 +99,8 @@ class PageController extends Controller {
// allow users to retrieve avatars from social networks (default: yes)
$syncAllowedByAdmin = $this->config->getAppValue(Application::APP_ID, 'allowSocialSync', 'yes');
- // allow users to retrieve the admin address book from social networks (default: yes)
- $allowSystemAddressBook = $this->config->getAppValue(Application::APP_ID, 'allowSystemAddressBook', 'no');
+ // allow users to retrieve the admin address book from social networks (default: no)
+ $allowSystemAddressBook = $this->config->getAppValue('dav', 'allowSystemAddressBook', 'no');
// automated background syncs for social avatars (default: no)
$bgSyncEnabledByUser = $this->config->getUserValue($userId, Application::APP_ID, 'enableSocialSync', 'no');