change sequence of parameters for expired docs task

This commit is contained in:
Uwe Steinmann 2024-03-28 19:26:50 +01:00
parent 8b2db5376c
commit 7998c9d7e0

View File

@ -99,16 +99,16 @@ class SeedDMS_ExpiredDocumentsTask extends SeedDMS_SchedulerTaskBase { /* {{{ */
public function getAdditionalParams() { public function getAdditionalParams() {
return array( return array(
array(
'name'=>'email',
'type'=>'string',
'description'=> '',
),
array( array(
'name'=>'days', 'name'=>'days',
'type'=>'integer', 'type'=>'integer',
'description'=> 'Number of days to check for. Negative values will look into the past. 0 will just check for documents expiring the current day. Keep in mind that the document is still valid on the expiration date.', 'description'=> 'Number of days to check for. Negative values will look into the past. 0 will just check for documents expiring the current day. Keep in mind that the document is still valid on the expiration date.',
), ),
array(
'name'=>'email',
'type'=>'string',
'description'=> 'If set, emails are send to this address.',
),
array( array(
'name'=>'peruser', 'name'=>'peruser',
'type'=>'boolean', 'type'=>'boolean',