aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Controller
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2025-06-07 19:33:52 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2025-06-07 19:33:52 +0200
commit915cb0403da3a4fcd1027b6fc312b5e03de67da1 (patch)
treec9c8e9fe684d328fdaa8745c1f0182b392818ef3 /apps/dav/lib/Controller
parent3b3100c82d75f63ce2fff88a54e9eb9f6ebcc519 (diff)
downloadnextcloud-server-feat/example-event.tar.gz
nextcloud-server-feat/example-event.zip
fix: enable example contact feature by defaultfeat/example-event
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'apps/dav/lib/Controller')
-rw-r--r--apps/dav/lib/Controller/ExampleContentController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Controller/ExampleContentController.php b/apps/dav/lib/Controller/ExampleContentController.php
index 7715162250d..905fd392e6c 100644
--- a/apps/dav/lib/Controller/ExampleContentController.php
+++ b/apps/dav/lib/Controller/ExampleContentController.php
@@ -61,7 +61,7 @@ class ExampleContentController extends ApiController {
}
public function setDefaultContact(?string $contactData = null) {
- if (!$this->config->getAppValue(Application::APP_ID, 'enableDefaultContact', 'no')) {
+ if (!$this->config->getAppValue(Application::APP_ID, 'enableDefaultContact', 'yes')) {
return new JSONResponse([], Http::STATUS_FORBIDDEN);
}
$this->setCard($contactData);