Skip to content

Commit 7349572

Browse files
kevinmecklayacoo
authored andcommitted
Set default limit for video validation to 0.
1 parent 33108e6 commit 7349572

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Classes/Command/CountCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
4343
if (in_array(strtolower($extension), $allowedExtensions, true)) {
4444
$validatorDemand = new ValidatorDemand();
4545
$validatorDemand->setExtension($extension);
46+
$validatorDemand->setLimit(0);
4647
$numberOfVideos = count($this->fileRepository->getVideosByExtension($validatorDemand, time()));
4748
$io->info(
4849
$this->localizationUtility::translate('count.numberOfVideos', 'video_validator') .

0 commit comments

Comments
 (0)