Skip to content
Snippets Groups Projects

Fix D11 test errors and other compatibility errors caused by project update bot.

Merged Jakob P requested to merge issue/smtp-3434668:3434668-automated-drupal-11 into 8.x-1.x
4 files
+ 16
19
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -108,7 +108,7 @@ class ConnectionTester {
$smtp_enabled = $this->smtpConfig->get('smtp_on');
// Check to see if MailSystem is enabled and is using SMTPMailSystem.
if (\Drupal::moduleHandler()->moduleExists('mailsystem')) {
if (\Drupal::moduleHandler()->moduleExists('mailsystem')) { // @phpstan-ignore-line
$mailsystem_defaults = (array) $this->configFactory->get('mailsystem.settings')->get('defaults');
$smtp_enabled = in_array('SMTPMailSystem', $mailsystem_defaults);
}
Loading