First version of cal dav with new tempus structure

This commit is contained in:
Ivymaster
2026-07-06 16:22:33 +02:00
parent 790d0d99ec
commit 3e17e99ce9
16 changed files with 1424 additions and 37 deletions
@@ -4,13 +4,21 @@ class LectureCollisionCheck implements ICollisionCheck
{
private $_ci;
private $_uid;
public function __construct()
public function __construct($params)
{
$this->_ci =& get_instance();
if (isset($params['uid']) && !isEmptyString($params['uid'])){
$this->_uid = $params['uid'];
} else {
show_error('uid of logged user not passed!');
}
$this->_ci->load->model('ressource/Kalender_model', 'KalenderModel');
$this->_ci->load->model('ressource/zeitsperre_model', 'ZeitsperreModel');
$this->_ci->load->library('VariableLib', array('uid' => getAuthUID()));
$this->_ci->load->library('VariableLib', ['uid' => $this->_uid]);
$this->_ci->load->library('PhrasesLib', array('ui'));
}
@@ -255,4 +263,4 @@ class LectureCollisionCheck implements ICollisionCheck
}, getData($result));
}
}
}