You are here

function party_simplenews_simplenews_subscriber_delete in Party 8.2

Implements hook_simplenews_subscriber_delete().

File

modules/party_simplenews/party_simplenews.module, line 165
Main module file for Party Simplenews integration

Code

function party_simplenews_simplenews_subscriber_delete($subscriber) {
  db_delete('party_simplenews_subscriber')
    ->condition('snid', $subscriber->snid)
    ->execute();
}