During the admin settings the module overrides or removes the smtp_library variable based on the alteration setting. To remove the variable use variable_del() instead of the manual database query and simplify the if statement a bit.
elseif (strpos(variable_get('smtp_library', ''), 'mimemail')) {
variable_del('smtp_library');
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mimemail.903536_01.patch | 849 bytes | sgabe |
Comments
Comment #1
sgabe commentedAttaching patch.
Comment #2
sgabe commentedCommitted to HEAD.