function htmlmail_update_7201 in HTML Mail 7.2
Same name and namespace in other branches
- 8.2 htmlmail.install \htmlmail_update_7201()
Implements hook_update_N().
Rename HTMLMailMailSystem to HTMLMailSystem.
File
- ./
htmlmail.install, line 56 - Installation for HTML Mail module.
Code
function htmlmail_update_7201() {
module_load_include('module', 'mailsystem');
foreach (mailsystem_get() as $name => $value) {
if ($value == 'HTMLMailMailSystem') {
mailsystem_set(array(
$name => 'HTMLMailSystem',
));
}
}
}