diff --git a/apps/dav/lib/Service/ExampleContactService.php b/apps/dav/lib/Service/ExampleContactService.php index 2ae003b9deddf..1f7bf100b6d79 100644 --- a/apps/dav/lib/Service/ExampleContactService.php +++ b/apps/dav/lib/Service/ExampleContactService.php @@ -33,7 +33,7 @@ public function __construct( } public function isDefaultContactEnabled(): bool { - return $this->appConfig->getAppValueBool('enableDefaultContact', true); + return $this->appConfig->getAppValueBool('enableDefaultContact'); } public function setDefaultContactEnabled(bool $value): void { diff --git a/apps/dav/lib/Service/ExampleEventService.php b/apps/dav/lib/Service/ExampleEventService.php index 3b2b07fe416c2..cad6d1e7c5a10 100644 --- a/apps/dav/lib/Service/ExampleEventService.php +++ b/apps/dav/lib/Service/ExampleEventService.php @@ -200,6 +200,6 @@ public function setCreateExampleEvent(bool $enable): void { } public function shouldCreateExampleEvent(): bool { - return $this->appConfig->getValueBool(Application::APP_ID, self::ENABLE_CONFIG_KEY, true); + return $this->appConfig->getValueBool(Application::APP_ID, self::ENABLE_CONFIG_KEY); } }