mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Refresh notes in various actions.
This commit is contained in:
@@ -29,11 +29,6 @@ use Illuminate\Support\Facades\Log;
|
||||
|
||||
trait RefreshNotesTrait
|
||||
{
|
||||
/**
|
||||
* @param array $transaction
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
final protected function refreshNotes(array $transaction): array
|
||||
{
|
||||
$transaction['notes'] = '';
|
||||
@@ -42,7 +37,7 @@ trait RefreshNotesTrait
|
||||
$transaction['notes'] = $dbNote->text;
|
||||
}
|
||||
Log::debug(sprintf('Notes of journal #%d refreshed.', $transaction['transaction_journal_id']));
|
||||
|
||||
return $transaction;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user