Update
parent
8cdf72150d
commit
a73ba36aa9
|
|
@ -43,10 +43,6 @@ class WormReportCommand extends Command
|
||||||
->where('type', DeviceType::Worm)
|
->where('type', DeviceType::Worm)
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
if ($devices->isEmpty()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach ($devices as $device) {
|
foreach ($devices as $device) {
|
||||||
$this->info('==================================');
|
$this->info('==================================');
|
||||||
$this->createReport($device);
|
$this->createReport($device);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue