mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
This commit is contained in:
parent
8a4985261a
commit
669aedeea3
@ -80,6 +80,7 @@ class GroupUpdateService
|
|||||||
sprintf('Will now update journal #%d (only journal in group #%d)', $first->id, $transactionGroup->id)
|
sprintf('Will now update journal #%d (only journal in group #%d)', $first->id, $transactionGroup->id)
|
||||||
);
|
);
|
||||||
$this->updateTransactionJournal($transactionGroup, $first, reset($transactions));
|
$this->updateTransactionJournal($transactionGroup, $first, reset($transactions));
|
||||||
|
$transactionGroup->touch();
|
||||||
$transactionGroup->refresh();
|
$transactionGroup->refresh();
|
||||||
app('preferences')->mark();
|
app('preferences')->mark();
|
||||||
|
|
||||||
@ -94,6 +95,7 @@ class GroupUpdateService
|
|||||||
|
|
||||||
if (0 === count($updated)) {
|
if (0 === count($updated)) {
|
||||||
app('log')->error('There were no transactions updated or created. Will not delete anything.');
|
app('log')->error('There were no transactions updated or created. Will not delete anything.');
|
||||||
|
$transactionGroup->touch();
|
||||||
$transactionGroup->refresh();
|
$transactionGroup->refresh();
|
||||||
app('preferences')->mark();
|
app('preferences')->mark();
|
||||||
|
|
||||||
@ -115,6 +117,7 @@ class GroupUpdateService
|
|||||||
}
|
}
|
||||||
|
|
||||||
app('preferences')->mark();
|
app('preferences')->mark();
|
||||||
|
$transactionGroup->touch();
|
||||||
$transactionGroup->refresh();
|
$transactionGroup->refresh();
|
||||||
|
|
||||||
return $transactionGroup;
|
return $transactionGroup;
|
||||||
|
Loading…
Reference in New Issue
Block a user