diff options
author | MaZderMind | 2015-03-31 22:13:11 +0200 |
---|---|---|
committer | MaZderMind | 2015-03-31 22:13:11 +0200 |
commit | 5b3788456f9e5b290eb2148af50b3f0a981a8923 (patch) | |
tree | 80dc86b991b0156b73786ef9e06e1d52f1a00622 /model/Schedule.php | |
parent | d3c8802ff0d2dd2edcacfb66ed6c0cd5c16627b7 (diff) |
Revert "Don't 500 when the Schedule is unreachable"
This reverts commit 72722fe3c6e88a683c07b5ee1989e61610d4b7aa.
Diffstat (limited to 'model/Schedule.php')
-rw-r--r-- | model/Schedule.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/model/Schedule.php b/model/Schedule.php index 3a9ee70..5c7858a 100644 --- a/model/Schedule.php +++ b/model/Schedule.php @@ -37,13 +37,7 @@ class Schedule extends ModelBase return $schedule; // download schedule-xml - try { - $schedule = $this->fetchSchedule(); - } - catch(ErrorException $e) - { - return array(); - } + $schedule = $this->fetchSchedule(); $mapping = $this->getScheduleToRoomSlugMapping(); $program = array(); |