You are here

function invite_user_cancel in Invite 7.2

Implements hook_user_cancel().

File

./invite.module, line 687
Allows your users to send and track invitations to join your site.

Code

function invite_user_cancel($edit, $account, $method) {

  // Clean up the notification queue.
  db_delete('invite_notifications')
    ->condition('uid', $account->uid)
    ->execute();
}