diff --git a/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php b/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php index 110d07179..880c1b7da 100644 --- a/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php +++ b/src/Bundle/ChillCalendarBundle/Controller/CalendarController.php @@ -243,28 +243,6 @@ class CalendarController extends AbstractController ]); } - /** - * @Route("/{_locale}/calendar/calendar/my", name="chill_calendar_calendar_list_my") - */ - public function myCalendar(Request $request): Response - { - $this->denyAccessUnlessGranted('ROLE_USER'); - - if (!$this->getUser() instanceof User) { - throw new UnauthorizedHttpException('you are not an user'); - } - - if (!$this->remoteCalendarConnector->isReady()) { - return $this->remoteCalendarConnector->getMakeReadyResponse($request->getUri()); - } - - $view = '@ChillCalendar/Calendar/listByUser.html.twig'; - - return $this->render($view, [ - 'user' => $this->getUser(), - ]); - } - /** * Create a new calendar item. *