You are here

function mailing_list_email_delete in Mailing List 6

Same name and namespace in other branches
  1. 7 mailing_list.module \mailing_list_email_delete()

Deletes an e-mail.

Parameters

$eid: The ID of the e-mail.

1 call to mailing_list_email_delete()
mailing_list_email_delete_confirm_submit in ./mailing_list.admin.inc
Submit handler for the e-mail deletion form.

File

./mailing_list.admin.inc, line 308
Mailing list admin UI.

Code

function mailing_list_email_delete($eid) {
  db_query('DELETE FROM {mailing_list_emails} WHERE eid = %d', $eid);
}