diff options
author | Jannik Schönartz | 2017-03-02 19:35:55 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-03-02 19:35:55 +0100 |
commit | 40c92372f7831bae7a9ce809b6b785d5bac92c21 (patch) | |
tree | a1f81eb288be2bec47e68a809a5eb87e74062ccb /modules-available/locationinfo | |
parent | Bugfixes und Davincii ist jetzt implementiert (diff) | |
download | slx-admin-40c92372f7831bae7a9ce809b6b785d5bac92c21.tar.gz slx-admin-40c92372f7831bae7a9ce809b6b785d5bac92c21.tar.xz slx-admin-40c92372f7831bae7a9ce809b6b785d5bac92c21.zip |
Added checkConnection in the Dummy class
Diffstat (limited to 'modules-available/locationinfo')
-rw-r--r-- | modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php index 7d05b037..7cabfa0a 100644 --- a/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php +++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_dummy.inc.php @@ -11,6 +11,10 @@ class Coursebackend_Dummy extends CourseBackend { public function setCredentials($json,$location,$serverID) { } + public function checkConection(){ + return $true; + } + public function getCredentials(){ $options = ["opt1", "opt2", "opt3", "opt4", "opt5", "opt6", "opt7", "opt8"]; $credentials = ["username" => "string","password"=>"string","option"=>$options]; |