Because this function generates a lot of queries, i've disabled it for now.

This commit is contained in:
James Cole 2014-11-25 21:15:49 +01:00
parent f9dfdeafb3
commit 6e19bc01f5

View File

@ -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;