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