Skip to content

Firefly III: a personal finances manager

Removed "source_account" attribute.

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