pass fulltext service to AddSubFolder controller

This commit is contained in:
Uwe Steinmann 2023-12-22 07:46:39 +01:00
parent ced00167bf
commit 2021a124a5

View File

@ -876,6 +876,8 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
*/
function MKCOL($options) /* {{{ */
{
global $fulltextservice;
$this->log_options('MKCOL', $options);
$path = $options["path"];
@ -924,6 +926,7 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
$controller = Controller::factory('AddSubFolder');
$controller->setParam('dms', $this->dms);
$controller->setParam('user', $this->user);
$controller->setParam('fulltextservice', $fulltextservice);
$controller->setParam('folder', $folder);
$controller->setParam('name', $name);
$controller->setParam('comment', '');