mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Clean up method relying on old transaction journal code.
This commit is contained in:
		| @@ -53,7 +53,7 @@ final class ToAccountIs extends AbstractTrigger implements TriggerInterface | ||||
|      */ | ||||
|     public function triggered(TransactionJournal $journal) | ||||
|     { | ||||
|         $toAccountName = strtolower($journal->destination_account->name); // TODO TransactionJournal cannot deliver "destination_account" | ||||
|         $toAccountName = strtolower(TransactionJournal::destinationAccount($journal)->name); | ||||
|         $search        = strtolower($this->triggerValue); | ||||
|  | ||||
|         if ($toAccountName == $search) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user