aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorMaZderMind2016-12-27 09:17:46 +0100
committerMaZderMind2016-12-27 09:17:46 +0100
commit036232518a804c7c6ea3f25b050209e30dd12735 (patch)
treec3c86e5a2dc627fd10418d32f9485250329c8549 /model
parent51cf4686200b67afa08a49ef99b100d3773bade3 (diff)
repair relive
Diffstat (limited to 'model')
-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)
{