diff --git a/inc/inc.Tasks.php b/inc/inc.Tasks.php index f6bf18b29..f9dcd4446 100644 --- a/inc/inc.Tasks.php +++ b/inc/inc.Tasks.php @@ -99,16 +99,16 @@ class SeedDMS_ExpiredDocumentsTask extends SeedDMS_SchedulerTaskBase { /* {{{ */ public function getAdditionalParams() { return array( - array( - 'name'=>'email', - 'type'=>'string', - 'description'=> '', - ), array( 'name'=>'days', '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.', ), + array( + 'name'=>'email', + 'type'=>'string', + 'description'=> 'If set, emails are send to this address.', + ), array( 'name'=>'peruser', 'type'=>'boolean',