File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
app/code/Magento/Directory Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -83,12 +83,11 @@ public function __construct(
83
83
}
84
84
85
85
/**
86
- * @param mixed $schedule
87
86
* @return void
88
87
* @throws \Exception
89
88
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
90
89
*/
91
- public function scheduledUpdateCurrencyRates ($ schedule )
90
+ public function scheduledUpdateCurrencyRates ()
92
91
{
93
92
$ importWarnings = [];
94
93
if (!$ this ->_scopeConfig ->getValue (
Original file line number Diff line number Diff line change 7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Cron:etc/crontab.xsd" >
9
9
<group id =" default" >
10
- <job name =" currency_rates_update" instance =" Magento\Directory\Model\Observer" method =" scheduledUpdateCurrencyRates" />
10
+ <job name =" currency_rates_update" instance =" Magento\Directory\Model\Observer" method =" scheduledUpdateCurrencyRates" >
11
+ <config_path >crontab/default/jobs/currency_rates_update/schedule/cron_expr</config_path >
12
+ </job >
11
13
</group >
12
14
</config >
You can’t perform that action at this time.
0 commit comments