Travis fix (#26708)

* Travis fix

* Travis remove warning "Line exceeds 500 characters"

* Travis remove warning "Line exceeds 500 characters"

* Travis remove warning "Line exceeds 500 characters"
This commit is contained in:
Alexandre SPANGARO
2023-11-18 11:56:29 +01:00
committed by GitHub
parent 3fb520aa3f
commit af0c6899a7
4 changed files with 56 additions and 9 deletions

View File

@@ -150,7 +150,21 @@ class modMultiCurrency extends DolibarrModules
$datestart=dol_mktime(21, 15, 0, $arraydate['mon'], $arraydate['mday'], $arraydate['year']);
$this->cronjobs = array(
0 =>array('priority'=>61, 'label'=>'MutltiCurrencyAutoUpdateCurrencies', 'jobtype'=>'method', 'class'=>'multicurrency/class/multicurrency.class.php', 'objectname'=>'MultiCurrency', 'method'=>'syncRates', 'parameters'=>'0,0,cron', 'comment'=>'Update all the currencies using the currencylayer API. An APi key needs to be given in the multi-currency module config page', 'frequency'=>1, 'unitfrequency'=>2678400, 'status'=>$statusatinstall, 'test'=>'isModEnabled("cron")', 'datestart'=>$datestart),
0 => array(
'priority'=>61,
'label'=>'MutltiCurrencyAutoUpdateCurrencies',
'jobtype'=>'method',
'class'=>'multicurrency/class/multicurrency.class.php',
'objectname'=>'MultiCurrency',
'method'=>'syncRates',
'parameters'=>'0,0,cron',
'comment'=>'Update all the currencies using the currencylayer API. An API key needs to be given in the multi-currency module config page',
'frequency'=>1,
'unitfrequency'=>2678400,
'status'=>$statusatinstall,
'test'=>'isModEnabled("cron")',
'datestart'=>$datestart
),
);
// Permissions

View File

@@ -253,8 +253,36 @@ class modPartnership extends DolibarrModules
$datestart=dol_mktime(21, 15, 0, $arraydate['mon'], $arraydate['mday'], $arraydate['year']);
$this->cronjobs = array(
0 => array('priority'=>60, 'label'=>'CancelPartnershipForExpiredMembers', 'jobtype'=>'method', 'class'=>'/partnership/class/partnershiputils.class.php', 'objectname'=>'PartnershipUtils', 'method'=>'doCancelStatusOfMemberPartnership', 'parameters'=>'', 'comment'=>'Cancel status of partnership when subscription is expired + x days.', 'frequency'=>1, 'unitfrequency'=>86400, 'status'=>1, 'test'=>'isModEnabled("partnership")', 'datestart'=>$datestart),
1 => array('priority'=>61, 'label'=>'PartnershipCheckBacklink', 'jobtype'=>'method', 'class'=>'/partnership/class/partnershiputils.class.php', 'objectname'=>'PartnershipUtils', 'method'=>'doWarningOfPartnershipIfDolibarrBacklinkNotfound', 'parameters'=>'', 'comment'=>'Add a warning on partnership record if the backlink keyword is not found on the partner website.', 'frequency'=>1, 'unitfrequency'=>86400, 'status'=>0, 'test'=>'isModEnabled("partnership")', 'datestart'=>$datestart),
0 => array(
'priority'=>60,
'label'=>'CancelPartnershipForExpiredMembers',
'jobtype'=>'method',
'class'=>'/partnership/class/partnershiputils.class.php',
'objectname'=>'PartnershipUtils',
'method'=>'doCancelStatusOfMemberPartnership',
'parameters'=>'',
'comment'=>'Cancel status of partnership when subscription is expired + x days.',
'frequency'=>1,
'unitfrequency'=>86400,
'status'=>1,
'test'=>'isModEnabled("partnership")',
'datestart'=>$datestart
),
1 => array(
'priority'=>61,
'label'=>'PartnershipCheckBacklink',
'jobtype'=>'method',
'class'=>'/partnership/class/partnershiputils.class.php',
'objectname'=>'PartnershipUtils',
'method'=>'doWarningOfPartnershipIfDolibarrBacklinkNotfound',
'parameters'=>'',
'comment'=>'Add a warning on partnership record if the backlink keyword is not found on the partner website.',
'frequency'=>1,
'unitfrequency'=>86400,
'status'=>0,
'test'=>'isModEnabled("partnership")',
'datestart'=>$datestart
),
);
// Permissions provided by this module