diff options
author | Jannik Schönartz | 2017-02-21 17:32:26 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-02-21 17:32:26 +0100 |
commit | fe4993a7bc08bc20b7d84c82597f852e6e7f7282 (patch) | |
tree | 25907032851c58d9260a294b0f4cee09170179df /modules-available/locationinfo/api.inc.php | |
parent | Typos behoben, und die cretendials werden auserhalb der Klasse gesetzt (diff) | |
download | slx-admin-fe4993a7bc08bc20b7d84c82597f852e6e7f7282.tar.gz slx-admin-fe4993a7bc08bc20b7d84c82597f852e6e7f7282.tar.xz slx-admin-fe4993a7bc08bc20b7d84c82597f852e6e7f7282.zip |
Database: Changed login/passwd to credentials. install.php needs to be executed.
Diffstat (limited to 'modules-available/locationinfo/api.inc.php')
-rw-r--r-- | modules-available/locationinfo/api.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
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); |