ne plus tenter de notifier (fixe #78)

This commit is contained in:
afornerot
2022-09-07 11:23:07 +02:00
parent 57220794b9
commit f1baf4d87e
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ class EventController extends AbstractController
$idevent=$event->getId(); $idevent=$event->getId();
//$valid_url = $this->generateUrl('app_validationholiday',[],true); //$valid_url = $this->generateUrl('app_validationholiday',[],true);
$valid_url = $this->router->generate('app_validationholiday', [], urlGeneratorInterface::ABSOLUTE_URL); $valid_url = $this->router->generate('app_validationholiday', [], urlGeneratorInterface::ABSOLUTE_URL);
$this->notificator->sendNotifAttenteValid("Congés en attente de validation", $iduser, $idevent, $valid_url); // $this->notificator->sendNotifAttenteValid("Congés en attente de validation", $iduser, $idevent, $valid_url);
} }

View File

@@ -500,7 +500,7 @@ class ValidationController extends AbstractController
$em->flush(); $em->flush();
$iduser=$event->getUser()->getId(); $iduser=$event->getUser()->getId();
$idevent=$event->getId(); $idevent=$event->getId();
$this->notificator->sendNotifValid("Congé validé", $iduser, $event); // $this->notificator->sendNotifValid("Congé validé", $iduser, $event);
} }
$output=[]; $output=[];