aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
authorMaZderMind2015-03-31 17:16:40 +0200
committerMaZderMind2015-03-31 17:16:40 +0200
commit3de36d7a63fe91127f3413d58004bbd6505864a3 (patch)
tree4cc04b1e7a4567dbfa3b752f1791695f275771fd /view
parentc01f7979db801aca3cd42234cc4a7fafaec0a9cd (diff)
Remove Global has/get
Diffstat (limited to '')
-rw-r--r--view/program-json.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/program-json.php b/view/program-json.php
index 08f4289..739b71b 100644
--- a/view/program-json.php
+++ b/view/program-json.php
@@ -5,4 +5,4 @@ if(!$schedule->isEnabled())
throw new NotFoundException('Schedule is disabled');
header('Content-Type: application/json');
-echo json_encode(program());
+echo json_encode($schedule->getSchedule());