From efb5af6f6f04c24bd19795bf3eaa92644d246350 Mon Sep 17 00:00:00 2001 From: Dominik Skerhak Date: Fri, 2 Jun 2023 10:08:12 +0200 Subject: [PATCH] Disable "Mail click tracker" config by default remp/remp#1102 --- CHANGELOG.md | 1 + .../mailer-module/src/Commands/DatabaseSeedCommand.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d907a5c11..a982a3492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixed mail click tracker to not modify URL in any way other than adding required query parameter. remp/remp#1270 - Changed `url` column type in `mail_template_links` table from `string` to `text` to support longer URLs. remp/remp#1270 - Added Makefile target `make install` to run all commands required after new code is pulled. +- Fixed "Mail click tracker" config. The default setting is now "disabled". remp/remp#1102 ## Archive diff --git a/Mailer/extensions/mailer-module/src/Commands/DatabaseSeedCommand.php b/Mailer/extensions/mailer-module/src/Commands/DatabaseSeedCommand.php index 51f0fe77c..40b44f445 100644 --- a/Mailer/extensions/mailer-module/src/Commands/DatabaseSeedCommand.php +++ b/Mailer/extensions/mailer-module/src/Commands/DatabaseSeedCommand.php @@ -46,7 +46,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $output->writeln('Required configuration: '); $configValues = [ ['default_mailer', 'Default Mailer', SmtpMailer::ALIAS, '', 'string'], - [RtmClickReplace::CONFIG_NAME, 'Mail click tracker', true, '', 'boolean'], + [RtmClickReplace::CONFIG_NAME, 'Mail click tracker', false, '', 'boolean'], ]; foreach ($configValues as $configValue) { $config = $this->configsRepository->findBy('name', $configValue['0']);