function avatar_selection_user_delete in Avatar Selection 7
Implements hook_user_delete().
File
- ./
avatar_selection.module, line 438 - 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_delete($account) {
db_delete('avatar_selection_usage')
->condition('uid', $account->uid)
->execute();
}