function smtp_modules_installed in SMTP Authentication Support 8
Disable the SMTP mailsystem if the mailsystem module is installed.
Parameters
$modules:
$is_syncing:
File
- ./
smtp.install, line 76 - The installation instructions for the SMTP Authentication Support.
Code
function smtp_modules_installed($modules, $is_syncing = FALSE) {
if (in_array('mailsystem', $modules) && !$is_syncing) {
// If mailsystem module is enabled, make sure SMTP is disabled.
_disable_smtp();
}
}