From 5b3788456f9e5b290eb2148af50b3f0a981a8923 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Tue, 31 Mar 2015 22:13:11 +0200 Subject: Revert "Don't 500 when the Schedule is unreachable" This reverts commit 72722fe3c6e88a683c07b5ee1989e61610d4b7aa. --- model/Schedule.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'model/Schedule.php') 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(); -- cgit v1.2.3