mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Removed $start variable from calback
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1a3c947b14
commit
6e42bce409
|
@ -45,7 +45,7 @@ class SyncAssetCounters extends Command
|
|||
$bar = $this->output->createProgressBar($assets_count);
|
||||
|
||||
$assets = Asset::withCount('checkins as checkins_count', 'checkouts as checkouts_count', 'userRequests as user_requests_count')
|
||||
->withTrashed()->chunk(100, function ($assets) use ($bar, $start) {
|
||||
->withTrashed()->chunk(100, function ($assets) use ($bar) {
|
||||
|
||||
if ($assets->count() > 0) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue