diff options
author | MaZderMind | 2016-12-18 13:32:10 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-18 13:32:10 +0100 |
commit | 340fdecd903fedee4dc39cfc60c166122f2451e1 (patch) | |
tree | be89253bbf80fc8383311137761a8a472e5d8b40 /view/schedule-json.php | |
parent | 46634852dc1af3fe53136a2d48bc3157e3bbad62 (diff) | |
parent | 35e7a2b2adad42b077de60d1566c22da62edeb77 (diff) |
Merge branch 'feature/33-remove-schedule-ajax-from-startpage'
fixes #33
Diffstat (limited to 'view/schedule-json.php')
-rw-r--r-- | view/schedule-json.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/view/schedule-json.php b/view/schedule-json.php deleted file mode 100644 index 19346fd..0000000 --- a/view/schedule-json.php +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -$schedule = $conference->getSchedule(); -if(!$schedule->isEnabled()) - throw new NotFoundException('Schedule is disabled'); - -header('Content-Type: application/json'); - -if($conference->isClosed()) - echo '{}'; - -else - echo json_encode($schedule->getSchedule(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); |