function smtp_update_7101 in SMTP Authentication Support 7.2
Same name and namespace in other branches
- 7 smtp.install \smtp_update_7101()
Updating variable value now that new SMTP logging behavior has been implemented.
File
- ./
smtp.install, line 146 - 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);
}