Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Remove logs.
James Cole97d12cd77af4
diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.phpindex 48731c4b29..8e116218a0 100644--- a/app/Repositories/Bill/BillRepository.php+++ b/app/Repositories/Bill/BillRepository.php@@ -439,7 +439,7 @@ class BillRepository implements BillRepositoryInterface*/public function getPaidDatesInRange(Bill $bill, Carbon $start, Carbon $end): Collection{- Log::debug('Now in getPaidDatesInRange()');+ //Log::debug('Now in getPaidDatesInRange()');return $bill->transactionJournals()->before($end)->after($start)->get(@@ -634,8 +634,8 @@ class BillRepository implements BillRepositoryInterface$end = app('navigation')->addPeriod($start, $bill->repeat_freq, $bill->skip);- Log::debug('nextDateMatch: Final start is ' . $start->format('Y-m-d'));- Log::debug('nextDateMatch: Matching end is ' . $end->format('Y-m-d'));+ //Log::debug('nextDateMatch: Final start is ' . $start->format('Y-m-d'));+ //Log::debug('nextDateMatch: Matching end is ' . $end->format('Y-m-d'));$cache->store($start);diff --git a/app/Transformers/BillTransformer.php b/app/Transformers/BillTransformer.phpindex 866b453d15..37ec5a9539 100644--- a/app/Transformers/BillTransformer.php+++ b/app/Transformers/BillTransformer.php@@ -144,13 +144,13 @@ class BillTransformer extends AbstractTransformer*/protected function nextDateMatch(Bill $bill, Carbon $date): Carbon{- Log::debug(sprintf('Now in nextDateMatch(%d, %s)', $bill->id, $date->format('Y-m-d')));+ //Log::debug(sprintf('Now in nextDateMatch(%d, %s)', $bill->id, $date->format('Y-m-d')));$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) {$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')));return $start;}@@ -224,7 +224,7 @@ class BillTransformer extends AbstractTransformer'paid_dates' => $result,'next_expected_match' => $nextMatch->format('Y-m-d'),];- Log::debug('Result', $result);+ //Log::debug('Result', $result);return $result;}