summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/api.inc.php
diff options
context:
space:
mode:
authorJannik Schönartz2017-03-04 18:18:49 +0100
committerJannik Schönartz2017-03-04 18:18:49 +0100
commit1a19e800b4c6e3b2413bcd1d3d5b85b6f9179d7e (patch)
tree3ae21c33ba0f5224235b3ef8d90c29e7872cbf4a /modules-available/locationinfo/api.inc.php
parentfrontend: fixed calendar (diff)
downloadslx-admin-1a19e800b4c6e3b2413bcd1d3d5b85b6f9179d7e.tar.gz
slx-admin-1a19e800b4c6e3b2413bcd1d3d5b85b6f9179d7e.tar.xz
slx-admin-1a19e800b4c6e3b2413bcd1d3d5b85b6f9179d7e.zip
ServerList: Fixed a bug while editing the list would not show the not selected Servers. Dummy updates to a current-dated date.
Diffstat (limited to 'modules-available/locationinfo/api.inc.php')
-rw-r--r--modules-available/locationinfo/api.inc.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php
index 1b4f9d59..0c4a1b67 100644
--- a/modules-available/locationinfo/api.inc.php
+++ b/modules-available/locationinfo/api.inc.php
@@ -91,7 +91,6 @@ function getCalendar($idList) {
$serverInstance = CourseBackend::getInstance($server['type']);
$serverInstance->setCredentials(json_encode($server['credentials']), $server['serverurl'], $server['serverid']);
$calendarFromBackend = $serverInstance->fetchSchedule($server['idList']);
-
$formattedArray = array();
foreach ($calendarFromBackend as $key => $value) {
$y['id'] = $key;