function purge_users_mail in Auto Purge Users 8
Same name and namespace in other branches
- 8.3 purge_users.module \purge_users_mail()
- 8.2 purge_users.module \purge_users_mail()
- 7.2 purge_users.module \purge_users_mail()
- 7 purge_users.module \purge_users_mail()
Implements hook_mail().
File
- ./
purge_users.module, line 272 - Purge users module file.
Code
function purge_users_mail($key, &$message, $params) {
switch ($key) {
case 'delete_users':
$message['subject'] = $params['subject'];
$message['body'][] = $params['body'];
break;
}
}