Skip to content
Snippets Groups Projects
Commit cf3f1575 authored by David Trattnig's avatar David Trattnig
Browse files

Removed obsolete code. #11

parent 5be227ec
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,6 @@ class AuraCalendarService(threading.Thread): ...@@ -105,7 +105,6 @@ class AuraCalendarService(threading.Thread):
return return
# Check if existing schedules have been deleted # Check if existing schedules have been deleted
# local_schedules = self.get_current_schedules()
local_schedules = Schedule.select_programme(datetime.now()) local_schedules = Schedule.select_programme(datetime.now())
for local_schedule in local_schedules: for local_schedule in local_schedules:
...@@ -162,12 +161,6 @@ class AuraCalendarService(threading.Thread): ...@@ -162,12 +161,6 @@ class AuraCalendarService(threading.Thread):
return return
def get_current_schedules(self):
"""
Returns the future schedules from the local database.
"""
return Schedule.select_programme()
def store_schedule(self, schedule): def store_schedule(self, schedule):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment