From 74be87819133f61a87b511d3849278d0df564f57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net>
Date: Wed, 11 Sep 2019 22:27:49 +0200
Subject: [PATCH] This TODO is not needed anymore, we handle registrations
 without attendee names or emails

---
 pretix_public_registrations/signals.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pretix_public_registrations/signals.py b/pretix_public_registrations/signals.py
index 61839f8..8434b7b 100644
--- a/pretix_public_registrations/signals.py
+++ b/pretix_public_registrations/signals.py
@@ -33,7 +33,6 @@ def add_public_registrations_html_head(sender, request=None, **kwargs):
 
 @receiver(question_form_fields, dispatch_uid="public_registration_question")
 def add_public_registration_question(sender, position, **kwargs):
-    # TODO: This should also filter by items with an attendee
     if str(position.item.pk) in sender.settings.get('public_registrations_items'):
         return {'public_registrations_public_registration': forms.BooleanField(
             label=_('Public registration'),
-- 
GitLab