add clearing of unused classes in lvplan caldav export lib

This commit is contained in:
Ivymaster
2026-07-07 13:42:54 +02:00
parent 280df46d6d
commit 4c1d88a054
11 changed files with 38 additions and 17 deletions
@@ -4,7 +4,7 @@ if (! defined('BASEPATH')) exit('No direct script access allowed');
/**
*/
class Test extends FHC_Controller
class LvPlanCalDAV extends FHC_Controller
{
/**
* Constructor
@@ -27,13 +27,18 @@ class Test extends FHC_Controller
$tree = array(
new \Sabre\CalDAV\Principal\Collection($principalBackend),
new SabreDAVReadOnlyCalendarRoot($principalBackend, $calendarBackend)
new \Sabre\CalDAV\CalendarRoot($principalBackend, $calendarBackend)
);
$server = new \Sabre\DAV\Server($tree);
$path = "/ma1433/core/FHC-Core/index.ci.php/test";
$server->setBaseUri($path);
$baseUri = '/' . implode('/', array_filter([
trim(BASE_LOCATION, '/'),
trim($this->config->item('index_page'), '/'),
'lvplan',
'caldav'
]));
$server->setBaseUri($baseUri);
$authBackend->setRealm('SabreDAV');
$authPlugin = new \Sabre\DAV\Auth\Plugin($authBackend);
+1 -1
View File
@@ -13,7 +13,7 @@ class TempusJob extends JOB_Controller
$this->_ci =& get_instance();
$this->_ci->load->helper('hlp_sancho_helper');
$this->_ci->load->library('KalenderLib');
$this->_ci->load->library('KalenderLib', ["uid" => null]);
}