Migrate to optimized method.

This commit is contained in:
James Cole
2025-08-09 16:31:11 +02:00
parent a6072753b2
commit 42b57c0e0e
5 changed files with 13 additions and 12 deletions

View File

@@ -52,8 +52,8 @@ class AccountTasker implements AccountTaskerInterface, UserGroupInterface
$end->endOfDay(); // needs to be end of day to be correct.
Log::debug(sprintf('getAccountReport: finalAccountsBalance("%s")', $yesterday->format('Y-m-d H:i:s')));
Log::debug(sprintf('getAccountReport: finalAccountsBalance("%s")', $end->format('Y-m-d H:i:s')));
$startSet = Steam::finalAccountsBalance($accounts, $yesterday);
$endSet = Steam::finalAccountsBalance($accounts, $end);
$startSet = Steam::accountsBalancesOptimized($accounts, $yesterday);
$endSet = Steam::accountsBalancesOptimized($accounts, $end);
Log::debug('Start of accountreport');
/** @var AccountRepositoryInterface $repository */