summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend.inc.php
diff options
context:
space:
mode:
authorDirk Riestere2017-03-05 19:53:54 +0100
committerDirk Riestere2017-03-05 19:53:54 +0100
commit16a22fd7b198eed5271cea93b2979e0d4c819171 (patch)
tree0f286b848f72e6bdb1187597faf28a1c0e58f2e4 /modules-available/locationinfo/inc/coursebackend.inc.php
parentCheckconnection prüft jetzt ob eine url existiert, array exeption sollten je... (diff)
downloadslx-admin-16a22fd7b198eed5271cea93b2979e0d4c819171.tar.gz
slx-admin-16a22fd7b198eed5271cea93b2979e0d4c819171.tar.xz
slx-admin-16a22fd7b198eed5271cea93b2979e0d4c819171.zip
Noch mehr exeption werden gefangen und das verhalten bei errors ist vereinheitlicht
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend.inc.php')
-rw-r--r--modules-available/locationinfo/inc/coursebackend.inc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend.inc.php b/modules-available/locationinfo/inc/coursebackend.inc.php
index dbc99e10..93381f2b 100644
--- a/modules-available/locationinfo/inc/coursebackend.inc.php
+++ b/modules-available/locationinfo/inc/coursebackend.inc.php
@@ -19,6 +19,16 @@ abstract class CourseBackend
public $error;
public $errormsg;
public $serverID;
+ public $location;
+
+ /**
+ * CourseBackend constructor.
+ */
+ public final function __construct() {
+ $this->location = "";
+ $this->error = false;
+ $this->errormsg = "";
+ }
/**
* Load all known backend types. This is done