You are here

function notify_user_cancel in Notify 7

Same name and namespace in other branches
  1. 8 notify.module \notify_user_cancel()
  2. 2.0.x notify.module \notify_user_cancel()
  3. 1.0.x notify.module \notify_user_cancel()

Implements hook_user_cancel().

File

./notify.module, line 84
Notify module sends e-mail digests of new content and comments.

Code

function notify_user_cancel($edit, $account, $method) {
  global $user;
  db_delete('notify')
    ->condition('uid', $user->uid)
    ->execute();
}