mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
replace fqdn in calendar bundle
This commit is contained in:
parent
4b9b27a8ef
commit
d0cc0e775f
@ -81,7 +81,7 @@ class CalendarController extends AbstractController
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @var Calendar $entity */
|
/** @var Calendar $entity */
|
||||||
$entity = $em->getRepository('ChillCalendarBundle:Calendar')->find($id);
|
$entity = $em->getRepository(\Chill\CalendarBundle\Entity\Calendar::class)->find($id);
|
||||||
|
|
||||||
if (!$entity) {
|
if (!$entity) {
|
||||||
throw $this->createNotFoundException('Unable to find Calendar entity.');
|
throw $this->createNotFoundException('Unable to find Calendar entity.');
|
||||||
@ -139,7 +139,7 @@ class CalendarController extends AbstractController
|
|||||||
$view = '@ChillCalendar/Calendar/editByUser.html.twig';
|
$view = '@ChillCalendar/Calendar/editByUser.html.twig';
|
||||||
}
|
}
|
||||||
|
|
||||||
$entity = $em->getRepository('ChillCalendarBundle:Calendar')->find($id);
|
$entity = $em->getRepository(\Chill\CalendarBundle\Entity\Calendar::class)->find($id);
|
||||||
|
|
||||||
if (!$entity) {
|
if (!$entity) {
|
||||||
throw $this->createNotFoundException('Unable to find Calendar entity.');
|
throw $this->createNotFoundException('Unable to find Calendar entity.');
|
||||||
@ -314,7 +314,7 @@ class CalendarController extends AbstractController
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** @var Calendar $entity */
|
/** @var Calendar $entity */
|
||||||
$entity = $em->getRepository('ChillCalendarBundle:Calendar')->find($id);
|
$entity = $em->getRepository(\Chill\CalendarBundle\Entity\Calendar::class)->find($id);
|
||||||
|
|
||||||
if (null === $entity) {
|
if (null === $entity) {
|
||||||
throw $this->createNotFoundException('Unable to find Calendar entity.');
|
throw $this->createNotFoundException('Unable to find Calendar entity.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user