pass conversion mgr to constructor of task

This commit is contained in:
Uwe Steinmann 2021-10-16 17:43:42 +02:00
parent 3cd4763c0e
commit b2b61eb990

View File

@ -103,13 +103,14 @@ class SeedDMS_SchedulerTaskBase {
return $ret; return $ret;
} /* }}} */ } /* }}} */
public function __construct($dms=null, $user=null, $settings=null, $logger=null, $fulltextservice=null, $notifier=null) { /* {{{ */ public function __construct($dms=null, $user=null, $settings=null, $logger=null, $fulltextservice=null, $notifier=null, $conversionmgr=null) { /* {{{ */
$this->dms = $dms; $this->dms = $dms;
$this->user = $user; $this->user = $user;
$this->settings = $settings; $this->settings = $settings;
$this->logger = $logger; $this->logger = $logger;
$this->fulltextservice = $fulltextservice; $this->fulltextservice = $fulltextservice;
$this->notifier = $notifier; $this->notifier = $notifier;
$this->conversionmgr = $conversionmgr;
} /* }}} */ } /* }}} */
public function execute(SeedDMS_SchedulerTask $task) { /* {{{ */ public function execute(SeedDMS_SchedulerTask $task) { /* {{{ */