This commit is contained in:
James Cole 2023-04-01 07:11:30 +02:00
parent d50c560ed2
commit c69b24c1d2
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -86,7 +86,6 @@ class CreditRecalculateService
{ {
/** @var TransactionJournal $journal */ /** @var TransactionJournal $journal */
foreach ($this->group->transactionJournals as $journal) { foreach ($this->group->transactionJournals as $journal) {
if (0 === count($this->work)) {
try { try {
$this->findByJournal($journal); $this->findByJournal($journal);
} catch (FireflyException $e) { } catch (FireflyException $e) {
@ -94,7 +93,6 @@ class CreditRecalculateService
Log::error(sprintf('Could not find work account for transaction group #%d.', $this->group->id)); Log::error(sprintf('Could not find work account for transaction group #%d.', $this->group->id));
} }
} }
}
Log::debug(sprintf('Done with %s', __METHOD__)); Log::debug(sprintf('Done with %s', __METHOD__));
} }