diff --git a/src/Resources/contao/dca/tl_calendar_events.php b/src/Resources/contao/dca/tl_calendar_events.php index e18148ff98..fc82c835ec 100644 --- a/src/Resources/contao/dca/tl_calendar_events.php +++ b/src/Resources/contao/dca/tl_calendar_events.php @@ -657,11 +657,6 @@ public function checkPermission() $objCalendar = $this->Database->prepare("SELECT id FROM tl_calendar_events WHERE pid=?") ->execute($id); - if ($objCalendar->numRows < 1) - { - throw new Contao\CoreBundle\Exception\AccessDeniedException('Invalid calendar ID ' . $id . '.'); - } - /** @var Symfony\Component\HttpFoundation\Session\SessionInterface $objSession */ $objSession = Contao\System::getContainer()->get('session');