diff --git a/src/Bundle/ChillPersonBundle/Controller/AccompanyingPeriodController.php b/src/Bundle/ChillPersonBundle/Controller/AccompanyingPeriodController.php index c51152ffa..f31dfa585 100644 --- a/src/Bundle/ChillPersonBundle/Controller/AccompanyingPeriodController.php +++ b/src/Bundle/ChillPersonBundle/Controller/AccompanyingPeriodController.php @@ -76,16 +76,10 @@ class AccompanyingPeriodController extends AbstractController $this->eventDispatcher->dispatch(PrivacyEvent::PERSON_PRIVACY_EVENT, $event); $accompanyingPeriods = $person->getAccompanyingPeriodsOrdered(); - dump($accompanyingPeriods); - $participatingPersons = array(); - foreach ($accompanyingPeriods as $ap){ - $participatingPersons[] = ($ap->getOpenParticipationContainsPerson($person)); - } return $this->render('ChillPersonBundle:AccompanyingPeriod:list.html.twig', [ 'accompanying_periods' => $accompanyingPeriods, - 'person' => $person, - 'participating_persons' => $participatingPersons + 'person' => $person ]); }