Fix: avoid hardcoding OG_LIVE status on REFRESH and RUN_SCRIPT completion
parent
a9228b0047
commit
5144aed0df
|
|
@ -319,9 +319,6 @@ class StatusController extends AbstractController
|
|||
}
|
||||
|
||||
if ($client) {
|
||||
if ($client->getStatus() === ClientStatus::BUSY) {
|
||||
$client->setStatus(ClientStatus::OG_LIVE);
|
||||
}
|
||||
$this->entityManager->persist($client);
|
||||
|
||||
if (isset($data['cfg'])) {
|
||||
|
|
@ -373,7 +370,6 @@ class StatusController extends AbstractController
|
|||
}
|
||||
|
||||
if ($client) {
|
||||
$client->setStatus(ClientStatus::OG_LIVE);
|
||||
$this->entityManager->persist($client);
|
||||
|
||||
if (isset($data['cfg'])) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue