|
@@ -87,9 +87,7 @@ class ONUSubscriber implements EventSubscriber
|
|
|
try{
|
|
|
$entity = $args->getEntity();
|
|
|
if($entity instanceof ONU){
|
|
|
- if(isset($args->getEntityChangeSet()['clientId']) && $args->getOldValue('clientId') != $entity->getClientId()){
|
|
|
- $this->setStateOnu($entity);
|
|
|
- }
|
|
|
+ $this->setStateOnu($entity);
|
|
|
}
|
|
|
}catch(Exception $ex){
|
|
|
ExceptionFactory::make($ex->getMessage());
|