appConfig->getValueBool('dav', 'enableCalendarFederation', true); } /** * Check if users are allowed to create federated shares */ public function isOutgoingServer2serverShareEnabled(): bool { if ($this->gsConfig->onlyInternalFederation()) { return false; } return $this->appConfig->getValueBool('files_sharing', 'outgoing_server2server_share_enabled', true); } /** * Check if users are allowed to receive federated shares */ public function isIncomingServer2serverShareEnabled(): bool { if ($this->gsConfig->onlyInternalFederation()) { return false; } return $this->appConfig->getValueBool('files_sharing', 'incoming_server2server_share_enabled', true); } }