chg: [command] Removed unused code in fieldSquasher
parent
748c035cbf
commit
7f8e319c68
|
@ -105,18 +105,6 @@ class FieldSquasherCommand extends Command
|
||||||
if ($entities === false) {
|
if ($entities === false) {
|
||||||
$this->io->error('Error while saving data');
|
$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)
|
private function findCanditates($table, $config, $source)
|
||||||
|
@ -486,4 +474,4 @@ class FieldSquasherCommand extends Command
|
||||||
{
|
{
|
||||||
return is_null($value) ? '' : $value;
|
return is_null($value) ? '' : $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue