diff options
author | Dirk Riestere | 2017-03-05 19:53:54 +0100 |
---|---|---|
committer | Dirk Riestere | 2017-03-05 19:53:54 +0100 |
commit | 16a22fd7b198eed5271cea93b2979e0d4c819171 (patch) | |
tree | 0f286b848f72e6bdb1187597faf28a1c0e58f2e4 /modules-available/locationinfo/inc/coursebackend.inc.php | |
parent | Checkconnection prüft jetzt ob eine url existiert, array exeption sollten je... (diff) | |
download | slx-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.php | 10 |
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 |