disabled task description and added this lang object to convert string to langguage by
This commit is contained in:
@@ -220,6 +220,7 @@ class AdminCronTaskManagerController extends ModuleAdminController
|
||||
'label' => $this->l('Description'),
|
||||
'name' => 'description',
|
||||
'required' => true,
|
||||
'disabled' => true,
|
||||
'col' => 7,
|
||||
'hint' => $this->l('e.g. Sends the daily booking summary report'),
|
||||
'desc' => $this->l('A short human-readable description of what this task does.'),
|
||||
|
||||
@@ -230,7 +230,7 @@ class QloCronTaskManager extends Module
|
||||
$cronTask = new QctmCronTask();
|
||||
$cronTask->id_module = $idModule;
|
||||
$cronTask->task_name = $task['name'];
|
||||
$cronTask->description = $task['description'];
|
||||
$cronTask->description = $this->l($task['description']);
|
||||
$cronTask->cron_expression = $task['cron'];
|
||||
$cronTask->callback = $task['callback'];
|
||||
$cronTask->active = 1;
|
||||
|
||||
Reference in New Issue
Block a user