function hook_multiple_email_delete in Multiple E-mail Addresses 7
Same name and namespace in other branches
- 6 multiple_email.api.php \hook_multiple_email_delete()
- 2.x multiple_email.api.php \hook_multiple_email_delete()
Signal that an email address has been deleted by Multiple Email.
When an email address is deleted by multiple email, this hook is invoked to notify other modules this has happened. Addresses might also be deleted in multiple_email's implementation of hook_user(), without triggering this hook.
Parameters
$eid: Email Address ID.
1 invocation of hook_multiple_email_delete()
- multiple_email_delete_email in ./
multiple_email.module - Deletes specified e-mail from registry - no error checking!
File
- ./
multiple_email.api.php, line 46 - API functions for Multiple Email module.
Code
function hook_multiple_email_delete($eid) {
db_query("DELETE FROM {mytable} WHERE eid = %d", $eid);
}