update execute() to meet latest changes in passed parameters

This commit is contained in:
Uwe Steinmann 2021-04-21 17:44:17 +02:00
parent 606f8d8df8
commit 7bdf60ebbf

View File

@ -183,10 +183,13 @@ class SeedDMS_ExtExample_Task extends SeedDMS_SchedulerTaskBase {
* Run the task
*
* @param $task task to be executed
* @param $dms dms
* @return boolean true if task was executed succesfully, otherwise false
*/
public function execute($task, $dms, $user) {
public function execute($task) {
$dms = $this->dms;
$user = $this->user;
$settings = $this->settings;
$logger = $this->logger;
$taskparams = $task->getParameter();
return true;
}