Skip to content

Commit

Permalink
Fix cleanup command output messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksold authored Jul 18, 2023
1 parent 7044cfc commit 7de8671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Command/Catalog/Media/Cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln(
sprintf(
'Removed %d media gallery paths that no longer have images on the filesystem.',
count($orphanedMediaGalleryPaths)
count($missingFilePaths)
)
);

Expand All @@ -80,7 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln(
sprintf(
'Removed %d files which are no longer present in the media gallery database table.',
count($orphanedMediaGalleryPaths)
count($unusedFilePaths)
)
);

Expand Down

0 comments on commit 7de8671

Please sign in to comment.