From fe4993a7bc08bc20b7d84c82597f852e6e7f7282 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Tue, 21 Feb 2017 08:32:26 -0800 Subject: Database: Changed login/passwd to credentials. install.php needs to be executed. --- modules-available/locationinfo/api.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules-available/locationinfo/api.inc.php') diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php index d854df64..4b3a0462 100644 --- a/modules-available/locationinfo/api.inc.php +++ b/modules-available/locationinfo/api.inc.php @@ -20,16 +20,16 @@ function HandleParameters() { } elseif ($getAction == "config") { $getRoomID = Request::get('id', 0, 'int'); getConfig($getRoomID); - } elseif ($getAction == "calendar") { - $getRoomID = Request::get('id', 0, 'int'); - echo getCalendar($getRoomID); - } elseif ($getAction == "roomtree") { - $roomIDS = Request::get('ids', 0, 'string'); - getRoomTree($roomIDS); } elseif ($getAction == "pcstates") { $roomIDs = Request::get('id', 0, 'string'); $array = getMultipleInformations($roomIDs); echo getPcStates($array); + } elseif ($getAction == "roomtree") { + $roomIDS = Request::get('ids', 0, 'string'); + getRoomTree($roomIDS); + } elseif ($getAction == "calendar") { + $getRoomID = Request::get('id', 0, 'int'); + echo getCalendar($getRoomID); } elseif ($getAction == "calendars") { $roomIDS = Request::get('ids', 0, 'string'); getCalendars($roomIDS); -- cgit v1.2.3-55-g7522