function smtp_update_8004 in SMTP Authentication Support 8
If mailsystem exists, disable smtp mailsystem automatically.
File
- ./
smtp.install, line 46 - The installation instructions for the SMTP Authentication Support.
Code
function smtp_update_8004() {
$mailsystem_enabled = \Drupal::moduleHandler()
->moduleExists('mailsystem');
if ($mailsystem_enabled) {
_disable_smtp();
}
}