You are here

function avatar_selection_user_cancel in Avatar Selection 7

Implements hook_user_cancel().

File

./avatar_selection.module, line 447
The Avatar Selection module allows the user to pick an avatar image from a list already loaded by an administrative user, and to the administrator to disable uploading other avatar files by the user.

Code

function avatar_selection_user_cancel($edit, $account, $method) {
  db_delete('avatar_selection_usage')
    ->condition('uid', $account->uid)
    ->execute();
}