You are here

function datereminder_user_cancel in Date Reminder 6.2

Same name and namespace in other branches
  1. 7 datereminder.module \datereminder_user_cancel()

Implements hook_user_cancel().

Parameters

arrray $edit: Array of form values from user.

user $account: The user object.

string $method: Account cancellation mentod.

File

includes/user.inc, line 32
Implement actions on user changes. These are D7-specific, never used in D6.

Code

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

  // For the purposes of Date Reminder, there's no reason to keep reminders
  // for a cancelled user.
  datereminder_user_delete($account);
}