diff --git a/Controller/ParticipationController.php b/Controller/ParticipationController.php index bb5c03213..5882e0773 100644 --- a/Controller/ParticipationController.php +++ b/Controller/ParticipationController.php @@ -51,8 +51,7 @@ class ParticipationController extends Controller */ public function newAction(Request $request) { - dump('coucou'); - + // test the request is correct try { $this->testRequest($request); diff --git a/Resources/views/Timeline/event_person_context.html.twig b/Resources/views/Timeline/event_person_context.html.twig index f105f87be..7548027b1 100644 --- a/Resources/views/Timeline/event_person_context.html.twig +++ b/Resources/views/Timeline/event_person_context.html.twig @@ -1,16 +1,5 @@ {% import 'ChillEventBundle:EventReason:macro.html.twig' as m %} -{# - {{ dump() }} -
-        event :
-    | #{{ event.id }} | {{ event.date|localizeddate('short', 'short') }} | {{ event.name }} | center {{ event.center.id }} | circle {{ event.circle.id }} | type {{ event.type.id }} | {{ event.moderator }} |
-        participations :
-    {% for participation in event.participations %}
-    | #{{ participation.id }} | {{ participation.person }} | {{ participation.role.name|localize_translatable_string }} | {{ participation.status.name|localize_translatable_string }} | lastupdate {{ participation.lastupdate|localizeddate('short', 'short') }} |
-    {% endfor %}
-    
-#} {% if "now"|date('U') > event.date|date('U') %} {% set boolDate = 'past' %} {% else %} diff --git a/Timeline/TimelineEventProvider.php b/Timeline/TimelineEventProvider.php index 07b0f6829..b31365b1f 100644 --- a/Timeline/TimelineEventProvider.php +++ b/Timeline/TimelineEventProvider.php @@ -96,7 +96,6 @@ class TimelineEventProvider implements TimelineProviderInterface 'WHERE' => $this->getWhereClause($metadataEvent, $metadataParticipation, $metadataPerson, $args['person']) ); - //dump($query); return $query; }