Skip to content

Commit

Permalink
fixup! Added progress bar to ezxmltext:convert-to-richtext
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl committed Oct 18, 2018
1 parent 6598488 commit 0d3bfd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundle/Command/ConvertXmlTextToRichTextCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ protected function fixEmbeddedImages($dryRun, $contentId, OutputInterface $outpu
} while ($offset + self::MAX_OBJECTS_PER_CHILD <= $count);
$this->progressBarFinish();

$output->writeln("\nUpdated ezembed tags in $totalCount field(s)");
$output->writeln(PHP_EOL . 'Updated ezembed tags in $totalCount field(s)');
}

protected function convertFieldDefinitions($dryRun, $output)
Expand Down Expand Up @@ -706,7 +706,7 @@ protected function processFields($dryRun, $checkDuplicateIds, $checkIdValues, Ou
$this->progressBarAdvance($objectsPerChild);
}
$this->progressBarFinish();
$output->writeln("\nConverted $count ezxmltext fields to richtext");
$output->writeln(PHP_EOL . 'Converted $count ezxmltext fields to richtext');
}

protected function createDocument($xmlString)
Expand Down

0 comments on commit 0d3bfd7

Please sign in to comment.