Loading module/Application/src/Service/VolumeHoraireService.php +2 −4 Changes for module/Application/src/Service/VolumeHoraireService.php: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -108,13 +108,11 @@ class VolumeHoraireService extends AbstractEntityService if (!$entity->getSourceCode()) { $entity->setSourceCode(uniqid('ose-')); } if (!$entity->getId()) { $canAutoValidate = $this->getAuthorize()->isAllowed($entity, Privileges::ENSEIGNEMENT_AUTOVALIDATION); if ($canAutoValidate) $entity->setAutoValidation(true); } return parent::save($entity); // TODO: Change the autogenerated stub return parent::save($entity); } Loading Loading
module/Application/src/Service/VolumeHoraireService.php +2 −4 Changes for module/Application/src/Service/VolumeHoraireService.php: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -108,13 +108,11 @@ class VolumeHoraireService extends AbstractEntityService if (!$entity->getSourceCode()) { $entity->setSourceCode(uniqid('ose-')); } if (!$entity->getId()) { $canAutoValidate = $this->getAuthorize()->isAllowed($entity, Privileges::ENSEIGNEMENT_AUTOVALIDATION); if ($canAutoValidate) $entity->setAutoValidation(true); } return parent::save($entity); // TODO: Change the autogenerated stub return parent::save($entity); } Loading