Skip to content

Commit

Permalink
Merge branch 'release/24.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Oct 5, 2023
2 parents 5494df8 + 846106b commit eb119d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions Classes/Command/CreateNewsletterFromOriginCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use In2code\Luxletter\Domain\Service\QueueService;
use In2code\Luxletter\Exception\InvalidUrlException;
use In2code\Luxletter\Exception\MisconfigurationException;
use In2code\Luxletter\Utility\ConfigurationUtility;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
Expand Down Expand Up @@ -67,9 +68,11 @@ protected function execute(InputInterface $input, OutputInterface $output): int
);
$output->writeln('Newsletter with uid ' . $newsletter->getUid() . ' created');

$queueService = GeneralUtility::makeInstance(QueueService::class);
$queuedAmount = $queueService->addMailReceiversToQueue($newsletter, (int)$input->getArgument('language'));
$output->writeln('Added ' . $queuedAmount . ' queue records');
if (ConfigurationUtility::isAsynchronousQueueStorageActivated() === false) {
$queueService = GeneralUtility::makeInstance(QueueService::class);
$queuedAmount = $queueService->addMailReceiversToQueue($newsletter, (int)$input->getArgument('language'));
$output->writeln('Added ' . $queuedAmount . ' queue records');
}
return parent::SUCCESS;
}
}
1 change: 1 addition & 0 deletions Documentation/Changelog/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

| Version | Date | State | Description |
|------------|------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 24.0.2 | 2023.10.05 | Bugfix | Respect `asynchronousQueueStorage` configuration even if newsletters are generated from CLI now |
| 24.0.1 | 2023.09.29 | Bugfix | Revive `$GLOBALS['TYPO3_CONF_VARS']['MAIL_LUXLETTER']` configuration for TYPO3 11 and 12 |
| 24.0.0 | 2023.09.05 | Feature | Add another unsubscribe plugin where the receiver can select his preferences |
| 23.0.1 | 2023.08.19 | Bugfix | Fix backend module configuration for TYPO3 12 (to set correct editor permissions) |
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'title' => 'luxletter - TYPO3 Email Marketing Newsletter Tool',
'description' => 'Free newsletter extension for TYPO3 for an individual email marketing. A lot of analytics and modern concepts. Works with and without EXT:lux.',
'category' => 'plugin',
'version' => '24.0.1',
'version' => '24.0.2',
'author' => 'Alex Kellner',
'author_email' => '[email protected]',
'author_company' => 'in2code.de',
Expand Down

0 comments on commit eb119d7

Please sign in to comment.