aboutsummaryrefslogtreecommitdiff
path: root/view/room.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-10 18:22:34 +0100
committerMaZderMind2016-12-10 18:22:34 +0100
commitf6c0270d40f6730fe1e1820f2866b08792df1db6 (patch)
treef0da1effc9f55f2f75dc57fe1ba17419d559b45b /view/room.php
parentb227ac0ee80f6de300fed10a34e7393847227cfc (diff)
rewrite data-model so that every configuration option is accessed through the conference
Diffstat (limited to '')
-rw-r--r--view/room.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/room.php b/view/room.php
index 505be95..d586248 100644
--- a/view/room.php
+++ b/view/room.php
@@ -1,6 +1,6 @@
<?php
-$room = new Room($_GET['room']);
+$room = $conference->getRoom($_GET['room']);
$stream = $room->selectStream(
$_GET['selection'], $_GET['language']);
@@ -11,5 +11,5 @@ echo $tpl->render(array(
'room' => $room,
'stream' => $stream,
- 'schedule' => new Schedule(),
+ 'schedule' => $conference->getSchedule(),
));