aboutsummaryrefslogtreecommitdiff
path: root/view/schedule-json.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-10 18:22:34 +0100
committerMaZderMind2016-12-10 18:22:34 +0100
commitf6c0270d40f6730fe1e1820f2866b08792df1db6 (patch)
treef0da1effc9f55f2f75dc57fe1ba17419d559b45b /view/schedule-json.php
parentb227ac0ee80f6de300fed10a34e7393847227cfc (diff)
rewrite data-model so that every configuration option is accessed through the conference
Diffstat (limited to 'view/schedule-json.php')
-rw-r--r--view/schedule-json.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/schedule-json.php b/view/schedule-json.php
index 9aea603..19346fd 100644
--- a/view/schedule-json.php
+++ b/view/schedule-json.php
@@ -1,6 +1,6 @@
<?php
-$schedule = new Schedule();
+$schedule = $conference->getSchedule();
if(!$schedule->isEnabled())
throw new NotFoundException('Schedule is disabled');