You are here

function simplenews_newsletter_delete in Simplenews 7.2

Same name and namespace in other branches
  1. 7 simplenews.module \simplenews_newsletter_delete()

Delete one or many newsletter from the database.

Parameters

$id: Simplenews newsletter ID or Array of Simplenews newsletter IDs.

Related topics

1 call to simplenews_newsletter_delete()
simplenews_admin_newsletter_delete_submit in includes/simplenews.admin.inc
Form submit callback for deleting a simplenews.

File

./simplenews.module, line 2104
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_newsletter_delete($id) {
  entity_delete('simplenews_newsletter', $id);
}