Changed to not check timeslot type on delete because other types now have this option. Commit ready for merge

- Legacy-Id: 14211
This commit is contained in:
Ryan Cross 2017-10-16 20:37:15 +00:00
parent 4a71c1476f
commit b9bf77b543

View file

@ -501,7 +501,6 @@ def non_session_delete(request, meeting_id, schedule_name, slot_id):
material first. SchedTimeSessAssignment objects get deleted as well.
'''
slot = get_object_or_404(TimeSlot, id=slot_id)
assert slot.type_id in ('other','plenary','lead', 'reg')
if request.method == 'POST' and request.POST['post'] == 'yes':
assignments = slot.sessionassignments.all()