From 16a22fd7b198eed5271cea93b2979e0d4c819171 Mon Sep 17 00:00:00 2001 From: Dirk Riestere Date: Sun, 5 Mar 2017 19:53:54 +0100 Subject: Noch mehr exeption werden gefangen und das verhalten bei errors ist vereinheitlicht --- modules-available/locationinfo/inc/coursebackend.inc.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules-available/locationinfo/inc/coursebackend.inc.php') 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 -- cgit v1.2.3-55-g7522