mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Auto commit for release 'develop' on 2024-07-01
This commit is contained in:
@@ -48,7 +48,7 @@ class ExchangeRateConverter
|
||||
*/
|
||||
public function convert(TransactionCurrency $from, TransactionCurrency $to, Carbon $date, string $amount): string
|
||||
{
|
||||
if(false === config('cer.enabled')) {
|
||||
if (false === config('cer.enabled')) {
|
||||
return $amount;
|
||||
}
|
||||
Log::debug('convert()');
|
||||
@@ -62,7 +62,7 @@ class ExchangeRateConverter
|
||||
*/
|
||||
public function getCurrencyRate(TransactionCurrency $from, TransactionCurrency $to, Carbon $date): string
|
||||
{
|
||||
if(false === config('cer.enabled')) {
|
||||
if (false === config('cer.enabled')) {
|
||||
return '1';
|
||||
}
|
||||
Log::debug('getCurrencyRate()');
|
||||
@@ -239,7 +239,7 @@ class ExchangeRateConverter
|
||||
*/
|
||||
public function prepare(TransactionCurrency $from, TransactionCurrency $to, Carbon $start, Carbon $end): void
|
||||
{
|
||||
if(false === config('cer.enabled')) {
|
||||
if (false === config('cer.enabled')) {
|
||||
return;
|
||||
}
|
||||
Log::debug('prepare()');
|
||||
@@ -314,7 +314,7 @@ class ExchangeRateConverter
|
||||
|
||||
public function summarize(): void
|
||||
{
|
||||
if(false === config('cer.enabled')) {
|
||||
if (false === config('cer.enabled')) {
|
||||
return;
|
||||
}
|
||||
Log::debug(sprintf('ExchangeRateConverter ran %d queries.', $this->queryCount));
|
||||
|
Reference in New Issue
Block a user