From bbf7ce0978a1cf6947fdf600b605f97c3a856010 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 8 Sep 2020 13:31:56 +0200 Subject: [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. --- modules-available/locationinfo/page.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules-available/locationinfo/page.inc.php') 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(); } -- cgit v1.2.3-55-g7522