mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-07 10:28:22 +00:00
Because this function generates a lot of queries, i've disabled it for now.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user