aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Relive.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/Relive.php b/model/Relive.php
index 542836d..5e7e381 100644
--- a/model/Relive.php
+++ b/model/Relive.php
@@ -91,13 +91,13 @@ class Relive
private function getScheduleToRoomMapping()
{
- $schedule = new Schedule();
+ $schedule = $this->getConference()->getSchedule();
$mapping = array();
foreach($schedule->getScheduleToRoomSlugMapping() as $schedule => $slug)
{
try {
- $mapping[$schedule] = new Room($slug);
+ $mapping[$schedule] = $this->getConference()->getRoom($slug);
}
catch(NotFoundException $e)
{