diff options
author | Simon Rettberg | 2020-09-08 13:31:56 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-08 13:31:56 +0200 |
commit | bbf7ce0978a1cf6947fdf600b605f97c3a856010 (patch) | |
tree | 39dd0d43df2738aa42a52539a43b2bc3d9cecea9 /modules-available/locationinfo/page.inc.php | |
parent | [minilinux] Fix colspan (diff) | |
download | slx-admin-bbf7ce0978a1cf6947fdf600b605f97c3a856010.tar.gz slx-admin-bbf7ce0978a1cf6947fdf600b605f97c3a856010.tar.xz slx-admin-bbf7ce0978a1cf6947fdf600b605f97c3a856010.zip |
[locationinfo] His: Switch from SOAP to iCal
iCal downloads are much faster in more revent HisInOne versions, while
the SOAP API will make cobbling together a time table for a specific
room even more complicated in the next release (2020.12).
Switch to iCal for now and see how it goes.
TODO: Create a generic iCal backend module based on this.
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 0885f446..e6269857 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -752,8 +752,9 @@ class Page_LocationInfo extends Page ); $backend['credentials'] = $backendInstance->getCredentialDefinitions(); foreach ($backend['credentials'] as $cred) { + /* @var BackendProperty $cred */ if ($backend['active'] && isset($oldCredentials[$cred->property])) { - $cred->initForRender($oldCredentials[$cred->property]); + $cred->initForRender($backendInstance->mangleProperty($cred->property, $oldCredentials[$cred->property])); } else { $cred->initForRender(); } |