mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 09:26:29 -06:00
Because this function generates a lot of queries, i've disabled it for now.
This commit is contained in:
parent
f9dfdeafb3
commit
6e19bc01f5
@ -198,7 +198,8 @@ class AccountController extends BaseController
|
||||
|
||||
$accounts->each(
|
||||
function (Account $account) {
|
||||
$transaction = $account->transactions()->orderBy('updated_at', 'DESC')->first();
|
||||
//$transaction = $account->transactions()->orderBy('updated_at', 'DESC')->first();
|
||||
$transaction = null;
|
||||
|
||||
if (is_null($transaction)) {
|
||||
$account->lastActionDate = null;
|
||||
|
Loading…
Reference in New Issue
Block a user