You are here

function mailing_list_email_delete in Mailing List 7

Same name and namespace in other branches
  1. 6 mailing_list.admin.inc \mailing_list_email_delete()

Deletes an e-mail.

@todo D7 queries.

Parameters

$eid: The ID of the e-mail.

File

./mailing_list.module, line 365
Minimalistic mailing list module.

Code

function mailing_list_email_delete($eid) {
  return db_delete('mailing_list_emails')
    ->condition('eid', $eid)
    ->execute();
}