ne plus tenter de notifier (fixe #78)
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -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=[];
|
||||||
|
Reference in New Issue
Block a user