function smtp_update_7101 in SMTP Authentication Support 7
Same name and namespace in other branches
- 7.2 smtp.install \smtp_update_7101()
Updating variable value now that new SMTP logging behavior has been implemented.
File
- ./
smtp.install, line 109 - The installation instructions for the SMTP Authentication Support.
Code
function smtp_update_7101() {
$old_debugging_value = variable_get('smtp_debugging', 0);
$logging = SMTP_LOGGING_NONE;
if ($old_debugging_value == 1) {
$logging = SMTP_LOGGING_ERRORS;
}
variable_set('smtp_debugging', $logging);
}