summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/models.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/program/models.py b/program/models.py
index a7033ec..eef98fa 100644
--- a/program/models.py
+++ b/program/models.py
@@ -231,10 +231,6 @@ class ProgramSlot(models.Model):
for k in range(len(starts)):
if starts[k].date() > old.until:
timeslot = TimeSlot.objects.create(programslot=self, start=starts[k], end=ends[k])
- elif self.until < old.until:
- for k in range(len(starts)):
- if starts[k].date() < old.until:
- timeslot = TimeSlot.objects.get(programslot=self, start=starts[k]).delete()
def timeslot_count(self):
return self.timeslots.count()