app:subscriptions:update --dry-run.

This commit is contained in:
Alexey Skobkin 2023-08-19 03:28:45 +03:00
parent 0a03a9a904
commit a7c17022dc
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -92,7 +92,7 @@ class UpdateSubscriptionsCommand extends Command
$progress->finish();
// Flushing all changes at once to the database
if (!$input->getOption('check-only')) {
if (!$input->getOption('dry-run')) {
$this->em->flush();
$this->em->commit();
}