Merged in [14211] from rcross@amsl.com:

Changed to not check timeslot type on delete because other types now have this option.
 - Legacy-Id: 14212
Note: SVN reference [14211] has been migrated to Git commit b9bf77b543
This commit is contained in:
Henrik Levkowetz 2017-10-16 21:47:23 +00:00
commit 9c3335be07

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()