Remove extra logging.

This commit is contained in:
James Cole 2021-02-19 16:25:36 +01:00
parent c4669ade29
commit 00f25836c0
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
2 changed files with 2 additions and 6 deletions

View File

@ -33,7 +33,8 @@ class StaticConfigKey
public static array $accepted = [ public static array $accepted = [
'firefly.version', 'firefly.version',
'firefly.api_version', 'firefly.api_version',
'firefly.default_location' 'firefly.default_location',
'firefly.account_to_transaction'
]; ];
/** /**
* @param string $value * @param string $value

View File

@ -148,11 +148,6 @@ class BillTransformer extends AbstractTransformer
$start = clone $bill->date; $start = clone $bill->date;
Log::debug(sprintf('Bill start date is %s', $start->format('Y-m-d'))); Log::debug(sprintf('Bill start date is %s', $start->format('Y-m-d')));
while ($start < $date) { while ($start < $date) {
Log::debug(
sprintf(
'%s (bill start date) < %s (given date) so we jump ahead one period (with a skip maybe).', $start->format('Y-m-d'), $date->format('Y-m-d')
)
);
$start = app('navigation')->addPeriod($start, $bill->repeat_freq, $bill->skip); $start = app('navigation')->addPeriod($start, $bill->repeat_freq, $bill->skip);
} }
Log::debug(sprintf('End of loop, bill start date is now %s', $start->format('Y-m-d'))); Log::debug(sprintf('End of loop, bill start date is now %s', $start->format('Y-m-d')));