💡 Comment OnboardingRESTController

This commit is contained in:
Philipp Stracker 2025-02-17 16:47:59 +01:00
parent a3fbe6f19f
commit 8b76e5fcb7
No known key found for this signature in database

View file

@ -136,6 +136,8 @@ class OnboardingRESTController {
$environment = $this->container->get( 'onboarding.environment' );
$state = $this->container->get( 'onboarding.state' );
// Legacy onboarding module; using `State::STATE_ONBOARDED` checks is valid here.
return array(
'environment' => $environment->current_environment(),
'onboarded' => ( $state->current_state() >= State::STATE_ONBOARDED ),