Refactor session relay synchronization logic for improved clarity
This commit is contained in:
@@ -172,8 +172,10 @@ class selfserve_wash_flow implements selfserve_wash_flow_i
|
||||
return $mutationResult['response'];
|
||||
}
|
||||
|
||||
if ($syncRelayState && $session->exists()) {
|
||||
$this->syncMachineRelayFromVisibleServices($snapshot, $session, $activateMachine);
|
||||
if ($syncRelayState) {
|
||||
if ($session->exists()) {
|
||||
$this->syncMachineRelayFromVisibleServices($snapshot, $session, $activateMachine);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->getSessionSummary((int)$session->id);
|
||||
|
||||
Reference in New Issue
Block a user