You are here

function trigger_user_cancel in Drupal 7

Implements hook_user_cancel().

File

modules/trigger/trigger.module, line 522
Enables functions to be stored and executed at a later time.

Code

function trigger_user_cancel($edit, $account, $method) {
  switch ($method) {
    case 'user_cancel_reassign':
      _trigger_user('user_delete', $edit, $account, $method);
      break;
  }
}