chg: [command] Removed unused code in fieldSquasher

pull/40/head
mokaddem 2021-03-10 09:21:51 +01:00
parent 748c035cbf
commit 7f8e319c68
1 changed files with 1 additions and 13 deletions

View File

@ -105,18 +105,6 @@ class FieldSquasherCommand extends Command
if ($entities === false) {
$this->io->error('Error while saving data');
}
$this->io->verbose('Saving meta fields');
$this->io->out('');
$progress->init([
'total' => count($entities),
'length' => 20
]);
foreach ($entities as $i => $entity) {
$this->saveMetaFields($entity);
$progress->increment(1);
$progress->draw();
}
$this->io->out('');
}
private function findCanditates($table, $config, $source)
@ -486,4 +474,4 @@ class FieldSquasherCommand extends Command
{
return is_null($value) ? '' : $value;
}
}
}