mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 19:01:58 +00:00
Some code cleanup for #1272
This commit is contained in:
@@ -159,12 +159,12 @@ class SplitController extends Controller
|
||||
// flash messages
|
||||
// @codeCoverageIgnoreStart
|
||||
if (count($this->attachments->getMessages()->get('attachments')) > 0) {
|
||||
Session::flash('info', $this->attachments->getMessages()->get('attachments'));
|
||||
session()->flash('info', $this->attachments->getMessages()->get('attachments'));
|
||||
}
|
||||
// @codeCoverageIgnoreEnd
|
||||
|
||||
$type = strtolower($this->repository->getTransactionType($journal));
|
||||
Session::flash('success', (string)trans('firefly.updated_' . $type, ['description' => $journal->description]));
|
||||
session()->flash('success', (string)trans('firefly.updated_' . $type, ['description' => $journal->description]));
|
||||
Preferences::mark();
|
||||
|
||||
// @codeCoverageIgnoreStart
|
||||
|
Reference in New Issue
Block a user