summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/timetablerequest.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/timetablerequest.php')
-rw-r--r--modules-available/locationinfo/timetablerequest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/timetablerequest.php b/modules-available/locationinfo/timetablerequest.php
index fb759904..bb65aad9 100644
--- a/modules-available/locationinfo/timetablerequest.php
+++ b/modules-available/locationinfo/timetablerequest.php
@@ -1,5 +1,5 @@
<?php
-
+require 'HisInOneAPI.php';
function fetchNewTimeTable($locationID){
//Get room information
$dbquery1 = Database::simpleQuery("SELECT serverid, serverroomid, lastcalenderupdate FROM location_info WHERE locationid = :id", array('id' => $locationID));
@@ -35,7 +35,7 @@ function fetchNewTimeTable($locationID){
function HisInOneRequest($url,$roomID,$lname,$passwd){
$url = $url."/qisserver/services2/CourseService";
$client = new HisInOneSoapClient($url, $lname, $passwd);
- return $client->giveBackJson($roomID);
+ return $client->getJson($roomID);
} \ No newline at end of file