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