diff --git a/lib/Service/ConfigService.php b/lib/Service/ConfigService.php index e6b0d4b95..cca6265bf 100644 --- a/lib/Service/ConfigService.php +++ b/lib/Service/ConfigService.php @@ -96,7 +96,8 @@ class ConfigService { return false; } - $defaultState = (bool)$this->config->getUserValue($this->getUserId(), Application::APP_ID, 'calendar', true); + $appConfigState = $this->config->getAppValue(Application::APP_ID, 'calendar', 'yes') === 'yes'; + $defaultState = (bool)$this->config->getUserValue($this->getUserId(), Application::APP_ID, 'calendar', $appConfigState); if ($boardId === null) { return $defaultState; }