Skip to content

Firefly III: a personal finances manager

Removed "destination_account"

James Colebeb301e781e9
diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.php
index db0ba4d072..762db8eafb 100644
--- a/app/Models/TransactionJournal.php
+++ b/app/Models/TransactionJournal.php
@@ -112,17 +112,7 @@ class TransactionJournal extends Model
return $value;
}
-
- /**
- * @return Account
- */
- public function getDestinationAccountAttribute()
- {
- $account = $this->transactions()->where('amount', '>', 0)->first()->account;
-
- return $account;
- }
-
+
/**
*
* @param string $fieldName