mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -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(
|
$accounts->each(
|
||||||
function (Account $account) {
|
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)) {
|
if (is_null($transaction)) {
|
||||||
$account->lastActionDate = null;
|
$account->lastActionDate = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user