You are here

function multiple_email_delete_email in Multiple E-mail Addresses 5

Same name and namespace in other branches
  1. 6 multiple_email.module \multiple_email_delete_email()
  2. 7 multiple_email.module \multiple_email_delete_email()
  3. 2.x multiple_email.module \multiple_email_delete_email()

Deletes specified email from registry - no error checking!

Parameters

integer $eid:

Return value

mixed

3 calls to multiple_email_delete_email()
multiple_email_delete_form_submit in ./multiple_email_delete_page.inc
Processes mulitple_email_delete_form_submit
multiple_email_expire_address in ./multiple_email.module
Removes the specified address from the user who added it and sends their primary email account a message notifying them about the expiration.
multiple_email_user in ./multiple_email.module
Implementation of hook_user()

File

./multiple_email.module, line 491
multiple_email module file

Code

function multiple_email_delete_email($eid) {
  return db_query("DELETE FROM {multiple_email} WHERE eid=%d", $eid);
}