diff options
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php index 77928b39..2f60249e 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_davinci.inc.php @@ -30,7 +30,7 @@ class CourseBackend_Davinci extends CourseBackend return $this->error === false; } - public function getCredentials() + public function getCredentialDefinitions() { return [ new BackendProperty('baseUrl', 'string') @@ -93,11 +93,11 @@ class CourseBackend_Davinci extends CourseBackend if ($return === false) { continue; } - $return = $this->toArray($return); + $return = $this->xmlStringToArray($return); if ($return === false) { continue; } - $lessons = $this->getAttributes($return, '/Lessons/Lesson'); + $lessons = $this->getArrayPath($return, '/Lessons/Lesson'); if ($lessons === false) { $this->error = "Cannot find /Lessons/Lesson in XML"; continue; |