summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend.inc.php')
-rw-r--r--modules-available/locationinfo/inc/coursebackend.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend.inc.php b/modules-available/locationinfo/inc/coursebackend.inc.php
index 675fd575..a3e7bf96 100644
--- a/modules-available/locationinfo/inc/coursebackend.inc.php
+++ b/modules-available/locationinfo/inc/coursebackend.inc.php
@@ -87,6 +87,11 @@ abstract class CourseBackend
public abstract function getCredentials();
/**
+ * @return boolean true if the connection works, false otherwise
+ */
+ public abstract function checkConection();
+
+ /**
* uses json to setCredentials, the json must follow the form given in
* getCredentials
* @param json $json jsonarray with the credentials