From 40c92372f7831bae7a9ce809b6b785d5bac92c21 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Thu, 2 Mar 2017 19:35:55 +0100 Subject: Added checkConnection in the Dummy class --- .../locationinfo/inc/coursebackend/coursebackend_dummy.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules-available/locationinfo/inc/coursebackend') 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]; -- cgit v1.2.3-55-g7522