WIP: Symfony 6 project remake #2
|
@ -92,7 +92,7 @@ class UpdateSubscriptionsCommand extends Command
|
||||||
$progress->finish();
|
$progress->finish();
|
||||||
|
|
||||||
// Flushing all changes at once to the database
|
// Flushing all changes at once to the database
|
||||||
if (!$input->getOption('check-only')) {
|
if (!$input->getOption('dry-run')) {
|
||||||
$this->em->flush();
|
$this->em->flush();
|
||||||
$this->em->commit();
|
$this->em->commit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue