Merge pull request #7101 from firefly-iii/fix-liabilities

Fix liabilities
This commit is contained in:
James Cole 2023-03-02 21:08:20 +01:00 committed by GitHub
commit d6d395eccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,6 +269,11 @@ class UpgradeLiabilitiesEight extends Command
if ((int)$dest->account_id === (int)$account->id && $source->account->accountType->type === AccountType::REVENUE) {
$delete = true;
}
// overruled. No transaction will be deleted, ever.
// code is kept in place so i can revisit my reasoning.
$delete = false;
if ($delete) {
Log::debug(
sprintf(