diff options
author | Simon Rettberg | 2017-12-07 13:30:55 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-12-07 13:30:55 +0100 |
commit | 477ff83eadf4118e8a5531fff7a6b6043e824fd1 (patch) | |
tree | 74a8396964d86831e4d413d30e5f48766ce4083f /modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php | |
parent | [sysconfig] Improve UI (diff) | |
download | slx-admin-477ff83eadf4118e8a5531fff7a6b6043e824fd1.tar.gz slx-admin-477ff83eadf4118e8a5531fff7a6b6043e824fd1.tar.xz slx-admin-477ff83eadf4118e8a5531fff7a6b6043e824fd1.zip |
[locationinfo] Fix handling of invalid backends, remove dummy-backend in production
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php index fac3f296..8843e372 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php @@ -106,6 +106,9 @@ class CourseBackend_Davinci extends CourseBackend } $return = $this->xmlStringToArray($return); if ($return === false) { + if (CONFIG_DEBUG) { + error_log('Room was ' . $roomId); + } continue; } $lessons = $this->getArrayPath($return, '/Lessons/Lesson'); |